Laravel - Compiling Assets - Running Mix

Mix is a configuration layer on top of webpack, so to run your Mix tasks you only need to execute one of the NPM scripts that are included in the default Laravel package.json file. When you run the dev or production scripts, all of your application's CSS and JavaScript assets will be compiled and placed in your application's public directory:

    
    // Run all Mix tasks...
    npm run dev
    
    // Run all Mix tasks and minify output...
    npm run prod