Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 841 Bytes

README.md

File metadata and controls

44 lines (33 loc) · 841 Bytes

my_vue

本项目使用yarn进行包管理
没有yarn可以先安装一下
windows系统 npm i -g yarn 
mac系统 sudo npm i -g yarn 

Project setup

npm install / yarn or yarn install

Compiles and hot-reloads for development

npm run serve / yarn run serve   --- 开发环境(本地)

Compiles and minifies for production

npm run build / yarn run build   --- 正式环境(线上)

Compiles and minifies for test

npm run test / yarn run test ---  测试环境环境(本地)

Lints and fixes files

npm run lint / yarn run lint
npm run lint-fix / yarn run lint-fix

Customize configuration

See Configuration Reference.

npm run lint-fix --- 运行eslint校验