-
Notifications
You must be signed in to change notification settings - Fork 54
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
Page散落在不同的package或plugin中,如何通过注解实现统一的页面路由? #7
Comments
这个问题又可以解决吗 |
我这有个不成熟的想法…… |
这个问题有进展了吗? |
提供一个感觉可行的思路: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前我们的项目中有多个plugin和package,各自包含若干page。想实现统一的路由导航机制,既满足壳工程页面跳转到子模块页面、也满足子模块之间的页面相互跳转。如果要实现这种效果,关键问题在于,如何通过根项目递归地扫描所有依赖的子项目代码注解,然后生成项目级的完整映射表。其中还需要解决可能存在的类名冲突。source_gen貌似只能扫描当前项目lib目录下的代码,无法满足需求。近期是否有计划做类似的功能实现?
The text was updated successfully, but these errors were encountered: