vue 微前端 Let you use the micro-frontends architecture to build Vue applications
Home Page:https://mqhe2007.github.io/vue-module-loader-doc/
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
cj12580 opened this issue 2 years ago · comments
配置了一个全局的path: "*"跳转到404,每次在加载模块包之前就直接跳到404了
这种情况需要自己编写vue-router拦截器,使用$moduleLoader方法配合next方法编写路由异步添加逻辑,避免被通配符匹配。