首页 新闻 会员 周边 捐助

Vue配置路由报错了,有没大佬解答一下

0
悬赏园豆:5 [已解决问题] 解决于 2022-03-27 10:34

Uncaught TypeError: (0 , vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent) is not a function
at eval (webpack-internal:///./node_modules/vue-router/dist/vue-router.esm-bundler.js:2147:90)
at Module../node_modules/vue-router/dist/vue-router.esm-bundler.js (chunk-vendors.js:1312:1)
at webpack_require (app.js:584:33)
at fn (app.js:817:21)
at eval (webpack-internal:///./src/router/index.js:3:68)
at Module../src/router/index.js (app.js:491:1)
at webpack_require (app.js:584:33)
at fn (app.js:817:21)
at eval (webpack-internal:///./src/main.js:12:65)
at Module../src/main.js (app.js:480:1)

码磊姐姐的主页 码磊姐姐 | 菜鸟二级 | 园豆:201
提问于:2022-03-27 10:19
< >
分享
最佳答案
0

路由版本出错。换个版本即可

码磊姐姐 | 菜鸟二级 |园豆:201 | 2022-03-27 10:34
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册