A boilerplate for building web projects with Laravel Mix and Webpack. Uses Laravel-mix 4.x and Webpack 4.x.
Make sure these are installed first.
cd
into cloned directory.npm install
in terminal to install required files and dependencies.npm run watch
to start running boilerplate in http://localhost:3000/dist
- The compiled files are stored in this directory
js
- All compiled js
files are stored in this directorycss
- All compiled css
files are stored in this directoryfonts
- All compiled/moved font
files are stored in this directoryindex.html
- Sample html file linked with dist directory assetssrc
- Your development files are stored in this directory
js
- Store all raw js
files in this directoryscss
- Store all scss
files in this directoryfonts
- Store all web-font
in this directoryimages
- Store all image
files in this directoryindex.html
- Sample html filepackage.json
- All the dependencies and config for the projectwebpack.mix.js
- It contains all Laravel-mix functions.The code is available under the MIT License.