约定式路由模式下如何获取所有路由? #6188
Unanswered
shen774411223d
asked this question in
Q&A
Replies: 4 comments 3 replies
-
我的需求是这样,做个子应用模板,上手就写业务,根据路由生成菜单,嵌套主应用时只有路由部分的内容。 之前看文档还是测试好像看到过有获取到约定下的所有路由,有点忘了,后面测试到再研究一下。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
同样需要获取到全部路由,大佬们有什么好办法没有? |
Beta Was this translation helpful? Give feedback.
0 replies
-
目前没有办法获取到,我们会在近期提供这个能力 @ibyxz @lanmingle @shen774411223d |
Beta Was this translation helpful? Give feedback.
1 reply
-
目前已经合入主分支,本周发版,大家可以看看是否能满足需求。 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
使用约定式路由模式后,如何获取所有路由信息?在中后台中需要渲染路由菜单,现在是否提供了获取全部路由的api?
是否有
import.meta.glob
的平替?打包方式为Rspack
Beta Was this translation helpful? Give feedback.
All reactions