A Laravel Mix boilerplate for building basic web applications with HTML, JavaScript and SASS.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- Clone the repository from GitHub:
git clone https://github.com/mgoigfer/laravel-mix-boilerplate.git <project-name> && cd <project-name> && rm -rf .git
- Create a
.env
config file, and fill it with your development environment config:
cp .env.example .env
- Install Node.js. The following
nvm
commands will install the Node.js version specified at.nvmrc
:
nvm install && nvm use
- Install yarn dependencies:
yarn install
yarn dev
yarn watch
yarn prod
- Laravel Mix - An elegant wrapper around Webpack for the 80% use case
- Mikel Goig - mgoigfer