In my tutorial called Laravel Elixir Without Laravel we have gone over installing Laravel Elixir, configuring it to match our custom folder structure and adding tasks.
In this lesson we will do the same thing, but with Laravel Mix. We will create a custom non-Laravel project, install Laravel Mix and make it handle our assets.
To install all dependencies:
npm install
Run all tasks:
npm run dev
Run all tasks and minify:
npm run production
Run all tasks and watch for changes:
npm run watch