Top "Laravel-mix" questions

Laravel Mix provides a fluent API for defining Webpack build steps for your Laravel application using several common CSS and JavaScript pre-processors.

Laravel Mix "sh: 1: cross-env: not found error"

I have been trying to setup laravel mix on my project and followed the install guide on the laravel website …

laravel npm laravel-mix
How to Install Font Awesome in Laravel Mix

I've tried to install Font Awesome using Laravel Mix but when executing run npm dev I get the following message: …

php laravel laravel-5 webpack laravel-mix
Laravel 5.4 ‘cross-env’ Is Not Recognized as an Internal or External Command

I'm trying to run npm run dev for Laravel Mix and I get this error: > @ dev D:\projects\ptcs &…

node.js laravel npm laravel-mix
Block-scoped declarations not yet supported outside strict mode

I'm running Laravel 5.4 on my Homestead vagrant box. I've installed all the npm dependencies with npm install command. That didn't …

node.js laravel webpack laravel-mix
The Mix manifest does not exist when it does exist

For my admin panel I extract all the assets including the manifest-json.js to mix.setPublicPath(path.normalize('public/backend/…

php laravel laravel-mix
Enable inline javascript in LESS

I would like to use inline js in my less files but I get the following message: Inline JavaScript is …

javascript npm less laravel-mix
Compiling ES6 and VUE JS not working in IE 11

So I am having an issue with ES6, Webpack and VUE JS in IE 11. This works in Edge, Chrome, Safari …

javascript vue.js webpack internet-explorer-11 laravel-mix
Difference between npm run watch and npm run watch-poll

What is the difference between npm run watch and npm run watch-poll in Laravel mix? I cannot see any difference …

laravel npm laravel-mix
'cross-env' is not recognized as an internal or external command,

Guys can you please help me on this I have trouble run npm run dev for my Laravel Mix. I …

laravel npm npm-install laravel-mix
npm run cannot find module 'sass' after repeated reinstall attempts

Any call to npm run produces this error: $ npm run dev > @ dev /project > npm run development > @ development /…

node.js npm laravel-mix node-sass