README.md
vue02
A Vue.js project
开发
# 安装依赖
npm install
# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过使用淘宝镜像解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org
# linux 下安装,可加上
npm install --unsafe-perm=true --allow-root --registry=https://registry.npm.taobao.org
# 启动服务
npm run dev
发布
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
# 代码格式检查
npm run lint