a vue project
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# 生成 element theme 变量
npm run eti
# 生成 element theme 并且 watch
npm run etw
# 生成 element theme 到 ~theme 目录
npm run et
For detailed explanation on how things work, checkout the guide and docs for vue-loader.