Skip to content
Discussion options

You must be logged in to vote

因为可扩展性的考虑移除了,你不应该试图在客户端侧获取全部的页面对象。

另外你可以使用 routeMeta 去向路由注入一些必要的页面元信息。

你可以关注一下 vuepress-theme-hope,想实现的东西里面都应该有类似地实现。

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@zhouxinyong
Comment options

@Mister-Hope
Comment options

Answer selected by Mister-Hope
Comment options

You must be logged in to vote
3 replies
@meteorlxy
Comment options

@meteorlxy
Comment options

@hustcer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants