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