How to setup the Laravel Mix on version 5.4
to do css
livereloading whenever the sass
files get compiled? All the tutorials I found are relating to older versions.
I have installed the node
modules, and I am running the watch by npm run watch
, as stated on the tutorial http://ift.tt/2jNxkeF. So far the webpack.mix.js
is as follows:
const { mix } = require('laravel-mix');
mix.js('resources/assets/js/app.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css');
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire