动态路由的问题
- Dominant language
- Vue
- Stars
- 16.3k
- Forks
- 4.7k
- PR merge metrics
- No merged PRs in 30d
Description
当设置好动态路由之后就报错```
ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/tables/components/multiPageTable.vue
Module not found: Error: Can't resolve './editableTable.vue' in 'C:\Users\ding\Desktop\CustomerSanagementSystem\src\views\tables\components'
@ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/views/tables/components/multiPageTable.vue 7:21-51
@ ./src/views/tables/components/multiPageTable.vue
@ ./src/views lazy ^\.\/.*\.vue$
@ ./src/libs/lazyLoading.js
@ ./src/libs/util.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8081 webpack/hot/dev-server @/main
Child html-webpack-plugin for "..\index.html":`
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with src/views/tables/components/multiPageTable.vue and inspect its editableTable.vue import, then trace the dynamic-route loading path through src/libs/lazyLoading.js. Confirm the referenced component can be resolved when the dynamic route is configured and that the project builds without the reported Module not found error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- webpack
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100