Skip to content

Commit da286d4

Browse files
committed
fix bug
1 parent 51f9977 commit da286d4

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.env

Lines changed: 0 additions & 1 deletion
This file was deleted.

.env.development

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
11
VUE_APP_BASE_API = '/api'
2+
3+
// With this configuration, vue-cli uses babel-plugin-dynamic-import-node
4+
// It only does one thing by converting all import() to require()
5+
// So that all asynchronous components can be import synchronously using this plugin
6+
// This configuration can significantly increase the speed of hot updates when you have a large number of pages
7+
// https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/babel-preset-app/index.js
8+
VUE_CLI_BABEL_TRANSPILE_MODULES = true

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
"xlsx": "^0.11.16"
6565
},
6666
"devDependencies": {
67+
"@babel/core": "7.0.0",
6768
"@babel/register": "7.0.0",
6869
"@vue/cli-plugin-babel": "3.0.5",
6970
"@vue/cli-plugin-eslint": "3.0.5",

0 commit comments

Comments
 (0)