Building Assets with Laravel Mix

All the CSS and JavScript (including the VueJS components) inside the LaraBooking system are compiled and versioned with Laravel Mix. To modify JavaScript or CSS (SASS), you need first to install:


And then, you can compile your assets:

  1. To compile and version the development scripts, run npm run dev
  2. To compile and version the production scripts, run npm run production
  3. Or you can run a Watcher, that verifies and compiles your scripts ever you modify them: npm run watch

All the assets that can be compiled are in the resources folder and the compiled assets are in the public folder. You can set the Assets Compilation Settings inside the webpack.mix.js file.