Browse Source

修改地址

master
panxiaohe 2 years ago
parent
commit
a45e79f536
  1. 4
      .env.development
  2. 6
      README.md
  3. 7
      package.json

4
.env.development

@ -5,10 +5,10 @@ ENV = 'development'
VUE_APP_BASE_API = '/dev-api'
# 开发环境
# VUE_APP_DOMAIN_PREFIX = 'https://ceresdev.zkthink.com/businessapi'
VUE_APP_DOMAIN_PREFIX = '/businessapi'
# VUE_APP_DOMAIN_PREFIX = '/businessapi'
# 演示环境
# VUE_APP_DOMAIN_PREFIX = 'https://ceres.zkthink.com/businessapi'
# VUE_APP_DOMAIN_PREFIX = 'http://localhost:9004'
VUE_APP_DOMAIN_PREFIX = 'http://localhost:9004'

6
README.md

@ -18,7 +18,7 @@ npm install
# 启动服务 localhost:8013
npm run dev
```
#### 常见问题
@ -37,3 +37,7 @@ https://www.ydyno.com/archives/1219.html
3、echarts版本不要用5.0.0
安装命令
npm install echarts@4.2.0-rc.2 --save
4、
npm install --save regenerator-runtime svg-baker-runtime vue-style-loader
npm install vue-quill-editor --save-dev

7
package.json

@ -4,7 +4,7 @@
"description": "A vue admin template with Element UI & axios & iconfont & permission control & lint",
"author": "Pan <panfree23@gmail.com>",
"scripts": {
"dev": "vue-cli-service serve",
"dev": "set NODE_OPTIONS=--openssl-legacy-provider & vue-cli-service serve",
"build:prod": "set NODE_OPTIONS=--openssl-legacy-provider & vue-cli-service build",
"build:stage": "set NODE_OPTIONS=--openssl-legacy-provider & vue-cli-service build --mode staging",
"preview": "node build/index.js --preview",
@ -24,13 +24,17 @@
"normalize.css": "7.0.0",
"nprogress": "0.2.0",
"path-to-regexp": "2.4.0",
"quill": "^1.3.7",
"regenerator-runtime": "^0.13.11",
"screenfull": "^5.0.2",
"svg-baker-runtime": "^1.4.7",
"swiper": "^5.4.5",
"vue": "2.6.10",
"vue-awesome-swiper": "^4.1.0",
"vue-lang": "^0.2.5",
"vue-quill-editor": "^3.0.6",
"vue-router": "3.0.6",
"vue-style-loader": "^4.1.3",
"vuedraggable": "^2.24.3",
"vuex": "3.1.0"
},
@ -56,6 +60,7 @@
"serve-static": "1.13.2",
"svg-sprite-loader": "4.1.3",
"svgo": "1.2.2",
"vue-quill-editor": "^3.0.6",
"vue-template-compiler": "2.6.10"
},
"browserslist": [

Loading…
Cancel
Save