How to see the webpack config inside laravel-mix
I couldn't find that info on the internet apparently... I had to dig into the laravel-mix source code to find out : const mix = require('laravel-mix'); // ...[your »
Best way to import lodash
Here is how I import lodash in my projects : import _findIndex from 'lodash/findIndex.js' And here is why : It works because inside the installed lodash »
How to space buttons properly (or anything else really)
I often see people struggling to properly add space between buttons in a group of buttons (that will work well in responsive too). So here is »
How to change SVG color inside <use> element
The <use> element is very useful to prevent duplication of SVGs, but it is harder to style because it generates a shadow DOM that »
How to enable Nginx site
Your website config file should be placed in /etc/nginx/sites-available and all you have to do is create a symbolic link in /etc/nginx/sites-enabled »