This project is a fork from the original Laravel Mix.
If you've ever been confused about how to get started with module bundling and asset compilation, you will love Laravel Mix!
laravel-mix-stylus and copy the example config files to your project root.
mkdir my-app && cd my-appnpm init -ynpm install laravel-mix-stylus --save-devcp -r node_modules/laravel-mix-stylus/setup/** ./
Add the following scripts on your
"scripts":"webpack": "cross-env NODE_ENV=development webpack --progress --hide-modules""dev": "cross-env NODE_ENV=development webpack --watch --progress --hide-modules""hmr": "cross-env NODE_ENV=development webpack-dev-server --inline --hot""production": "cross-env NODE_ENV=production webpack --progress --hide-modules"
Now you can use stylus by adding this code on your
You may review the initial documentation here on GitHub.
Laravel Mix is open-sourced software licensed under the MIT license.