root 3e1a01f446 修改服务配置信息 | 2 months ago | |
---|---|---|
public | 5 months ago | |
src | 2 months ago | |
.browserslistrc | 5 months ago | |
.env | 2 months ago | |
.env.production | 2 months ago | |
.env.test | 5 months ago | |
.eslintrc.js | 5 months ago | |
.gitignore | 2 months ago | |
README.md | 5 months ago | |
babel.config.js | 5 months ago | |
package.json | 5 months ago | |
vue.config.js | 2 months 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"
}
``
关于环境: