Skip to content

Commit

Permalink
fix: router按需加载eslint报错
Browse files Browse the repository at this point in the history
  • Loading branch information
hello-astar committed Oct 13, 2020
1 parent 7c0afb0 commit f3d477e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
presets: [
"@vue/app"
]
],
"plugins": ["@babel/plugin-syntax-dynamic-import"]
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"vuex": "^3.5.1"
},
"devDependencies": {
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@vue/cli-plugin-babel": "^3.9.0",
"@vue/cli-plugin-eslint": "^3.9.0",
"@vue/cli-service": "^3.9.0",
Expand Down

0 comments on commit f3d477e

Please sign in to comment.