浏览代码

添加test环境

zhengnaiwen_citu 4 月之前
父节点
当前提交
e7fc9aa835
共有 2 个文件被更改,包括 10 次插入0 次删除
  1. 9 0
      .env.test
  2. 1 0
      package.json

+ 9 - 0
.env.test

@@ -0,0 +1,9 @@
+# just a flag
+NODE_ENV = 'development'
+
+VUE_APP_MODE = 'test'
+
+VUE_APP_BASE_API = 'http://192.168.3.162:7654'
+# VUE_APP_BASE_API = '/op/base'
+
+VUE_APP_DATA_OPS = 'https://company.citupro.com:18183'

+ 1 - 0
package.json

@@ -4,6 +4,7 @@
   "private": true,
   "node": "^v14.7.0",
   "scripts": {
+    "test": "vue-cli-service serve --mode test",
     "dev": "vue-cli-service serve --mode development",
     "build": "vue-cli-service build --mode production"
   },