Building the Front-End¶
The source front-end files live in the
assets directory, while the compiled files
get created in the
Generally you should only ever edit the front-end files in
and compile them using the instructions below.
Getting started should be as simple as running:
In your project’s root directory.
Whenever you make modifications to the front-end files you will need to run the following command to rebuild the compiled JS bundles and CSS files:
npm run dev
You can also set it up to watch for changes by running:
npm run dev-watch
To build for production, run:
npm run build
This will compress your files, remove logging statements, etc.