约定式路由模式下如何获取所有路由? #6188
Unanswered
shen774411223d
asked this question in
Q&A
Replies: 2 comments
-
我的需求是这样,做个子应用模板,上手就写业务,根据路由生成菜单,嵌套主应用时只有路由部分的内容。 之前看文档还是测试好像看到过有获取到约定下的所有路由,有点忘了,后面测试到再研究一下。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
同样需要获取到全部路由,大佬们有什么好办法没有? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
使用约定式路由模式后,如何获取所有路由信息?在中后台中需要渲染路由菜单,现在是否提供了获取全部路由的api?
是否有
import.meta.glob
的平替?打包方式为Rspack
Beta Was this translation helpful? Give feedback.
All reactions