This means moving from Laravel Elixir to Laravel Mix
I kept getting this error, when trying:
npm install webpack npm install laravel-mix –save-dev
npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: email@example.com
This may be OK:
“For example the package fsevents is often used as optional dependency but fails on linux as it is not needed there. (That was at least the reason why I saw the message in our project)” GitHub
But when I run:
npm run webpack
npm ERR! missing script: webpack
Doh, realised that I need to run
npm run dev
This gives me a DONE message.
These need to reside in resources/assets/
Not got time work on this the moment.
Mix should work OK now.
.sourceMaps(); option can be added.
<link rel="stylesheet" href="">
Assets in resources\assets