skyouc
2025-07-07 2a24c69b830d9dc97a8673f5f69418e9f95f3e1b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# just a flag
ENV = 'development'
 
# base api
VUE_APP_BASE_API = 'http://192.168.8.14:8081/'
 
# 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