plg 3b52ba9ac8 修改新建测试计划--条件 | 1 week ago | |
---|---|---|
public | 1 month ago | |
src | 1 week ago | |
.browserslistrc | 3 months ago | |
.env | 1 month ago | |
.env.production | 3 months ago | |
.env.test | 3 months ago | |
.eslintrc.js | 3 months ago | |
.gitignore | 3 months ago | |
README.md | 3 months ago | |
babel.config.js | 3 months ago | |
package.json | 3 months ago | |
vue.config.js | 1 month ago |
npm install
npm run serve
npm run build
npm run test
npm run lint
//set NODE_OPTIONS=--openssl-legacy-provider &
/src/assets/img/dev 目录存放开发时的测试图片/icon 其他图片/icon放到对应的模块 /src/assets/img/commons 目录存放公共图片/icon
每个模块的api store router 放到对应模块的文件或文件夹内
打包时候从package.json 中根据不同环境打包
举例:npm run pro-build
"scripts": {
"serve": "vue-cli-service serve",
"lint": "vue-cli-service lint --fix",
"pro-build": "vue-cli-service build --modern --mode production",
"test-build": "vue-cli-service build --modern --mode test"
}
``
关于环境: