magic
A Vue+Webpack project architecture
Init
# install dependencies
yarn install
# init submodules
sh init.sh
Devlop
yarn run dev
# or
yarn run develop
# or
yarn run start
# build for production and view the bundle analyzer report
yarn run dev jarvis
Lint
# check code style
yarn run lint
# or auto-fix it
yarn run lint-fix
Build
# build for production with minification
yarn run build
# build for production and view the bundle analyzer report
yarn run build report
Create a module
yarn run add [name]