Browse Source

环境修改

master
zhang_li 10 months ago
parent
commit
7b7ab86598
  1. 11
      .env.test
  2. 3
      package.json

11
.env.test

@ -0,0 +1,11 @@
# 页面标题
VUE_APP_TITLE = 闻荫管理系统
# 开发环境配置
NODE_ENV = production
# 测试环境配置
ENV = 'test'
# 闻荫管理系统/测试环境
VUE_APP_BASE_API = 'http://dev.ccwin-in.com:25204/api/admin-api'

3
package.json

@ -6,7 +6,8 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"dev": "vue-cli-service serve", "dev": "vue-cli-service serve",
"build:stage": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build --mode staging", "test": "vue-cli-service build --mode test",
"prod": "vue-cli-service build --mode production",
"preview": "node build/index.js --preview", "preview": "node build/index.js --preview",
"lint": "eslint --ext .js,.vue src" "lint": "eslint --ext .js,.vue src"
}, },

Loading…
Cancel
Save