npm i
- Copy
src/*.phptodistfolder. - Copy
src/assets/*/todist/assets/*/folder. - Compile SASS
src/styles/app.scsstodist/stylesfolder. - Bundle and transpile JS
src/scripts/app.jstodist/scriptsfolder. - Create sources maps.
- Run a dev web server with browsersync.
npm start: compile the project.npx mix watch: build on files changes, launch a dev server with browsersync.npm run build: clean, lint and build the project.npm run clean: clean thedistfolder.
Not intended to be used in production since minification as been disabled.
For school project purpose only.