WangHan
2024-12-19 fae8a9349499cd045bc73e8fd22aeae52618a46c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# just a flag
ENV = 'development'
 
# base api
# VUE_APP_BASE_API = '/dev-api'
VUE_APP_BASE_API = 'http://127.0.0.1:8082/admin'
#VUE_APP_BASE_API = 'http://172.16.60.164:8082/admin'
 
# 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