瀏覽代碼

提交配置文件

陈鹏铭 2 年之前
父節點
當前提交
06cbdd3777
共有 3 個文件被更改,包括 31 次插入0 次删除
  1. 16 0
      .env.development
  2. 7 0
      .env.production
  3. 8 0
      .env.staging

+ 16 - 0
.env.development

@@ -0,0 +1,16 @@
+# just a flag
+ENV = 'development'
+
+# base api
+VUE_APP_BASE_API = '/webServer'
+# VUE_APP_WEB_API_URL = 'http://localhost:9003'
+VUE_APP_WEB_API_URL = 'http://wztjpt.idea-sf.com'
+
+# vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable,
+# to control whether the babel-plugin-dynamic-import-node plugin is enabled.
+# It only does one thing by converting all import() to require().
+# This configuration can significantly increase the speed of hot updates,
+# when you have a large number of pages.
+# Detail:  https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/babel-preset-app/index.js
+
+VUE_CLI_BABEL_TRANSPILE_MODULES = true

+ 7 - 0
.env.production

@@ -0,0 +1,7 @@
+# just a flag
+ENV = 'production'
+
+# base api
+VUE_APP_BASE_API = ''
+VUE_APP_WEB_API_URL = 'http://testwz.idea-sf.com:9004'
+

+ 8 - 0
.env.staging

@@ -0,0 +1,8 @@
+NODE_ENV = production
+
+# just a flag
+ENV = 'staging'
+
+# base api
+VUE_APP_BASE_API = '/stage-api'
+VUE_APP_WEB_API_URL = 'http://localhost:9001'