Author Eko Junaidi Salam eko_junaidisalam@live.com
- Clone this repo and
cd
into it. - Install npm modules.
npm install
- Setup symlink for
cross-env
binary to your path. Adjust your folder location. (Linux only)
sudo ln -s /home/users/tmp/ci3-with-laravel-mix/node_modules/cross-env/dist/bin/cross-env.js /usr/local/bin/cross-env
- Or, you can install
cross-env
binary globally in your npm environment and setup your NPM global binary location into yourEnvironment System Path
. (For Windows)
npm install -g cross-env
# Check global binary in npm
npm -g list --depth=0
# Please ensure there is cross-env in the list.
- If everything OK with no Error, you can run webpack now.
# For development purpose
npm run watch-poll
# For production
npm run prod
- For full npm command please read package.json
- Open your app in web browser to check it out.
- Customize this webpack.mix.js to match your need.
- Customize this app.scss.
- Customize this app.js.
Please feel free to comment, add useful info to this repo or send your issue.