Browse Source

修改配置文件

master
zkthink 5 years ago
parent
commit
6a084eda1a
  1. 25
      .env.development

25
.env.development

@ -1,33 +1,14 @@
# just a flag
ENV = 'development'
VUE_APP_PROJECT_NAME = 'cereshop-admin-web'
# SpringCloud项目使用这个地址
#VUE_APP_DEV_REQUEST_DOMAIN_PREFIX = 'http://127.0.0.1:8764'
# SpringBoot 项目使用这个地址
VUE_APP_DEV_REQUEST_DOMAIN_PREFIX = 'http://127.0.0.1:8764'
# 请求域名前缀, 该变量仅仅生产环境需要设置
VUE_APP_PROD_REQUEST_DOMAIN_PREFIX = ''
# URI 前缀,用于根据URI前缀进行代理
VUE_APP_BASE_API = '/api'
# 请求服务配置
VUE_APP_DEV_REQUEST_DOMAIN_PREFIX = 'https://ceres.zkthink.com'
# 是否启用验证码
VUE_APP_IS_CAPTCHA = true
# 客户端秘钥
VUE_APP_CLIENT_ID=ceres_admin_web
VUE_APP_CLIENT_SECRET=ceres_admin_web
# 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

Loading…
Cancel
Save