Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

router/index.js文件下,你的asyncRoutes 在什么地方注入的 #9

Closed
wwb568109135 opened this issue Jan 20, 2022 · 1 comment

Comments

@wwb568109135
Copy link

看你的代码里:asyncRoutes 怎么注入到 到前端路由vue-router的?
在路由的钩子 都没有addroute的代码?

@wwb568109135
Copy link
Author

藏的真深,真绕呀

为什么不在入口main.js 里 全局路由钩子去 处理了! 这stroe 是我使用vuex以来看到过的,最复杂的store了,太不够友好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant