Skip to content

Does v2 have the same way of accessing the themeConfig from a Layout.vue that v1 does? #686

Answered by Mister-Hope
ArsalaBangash asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, plz read the docs, we highly recommand you to use composition api.

You can use @vuepress/plugin-theme-data and it's useThemeData compoition api to get a reactive themeData.

@vuepress/theme-default can be a demo.

Replies: 1 comment 3 replies

Comment options

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

@Mister-Hope
Comment options

@Mister-Hope
Comment options

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