张晓翠 2 лет назад
Родитель
Сommit
0e0277f308
1 измененных файлов с 19 добавлено и 0 удалено
  1. 19 0
      baby-institute-admin-ui-front-master/.env.development

+ 19 - 0
baby-institute-admin-ui-front-master/.env.development

@@ -0,0 +1,19 @@
+# just a flag
+ENV = 'development'
+
+# base api
+VUE_APP_BASE_API = 'http://192.168.0.103:9095/baby-institute-back-end'
+VUE_APP_BASE_API_MOCK = 'http://localhost:9527/dev-api'
+VUE_APP_API_TIMEOUT = 30000
+
+# base img url
+VUE_APP_BASE_IMG = 'http://192.168.0.103:9095/baby-institute-back-end'
+
+# 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