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
怎么设置特定页面的自定义布局 #16
Comments
提供一下报错内容? |
Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> at node_modules/_vuepress-theme-meteorlxy@1.0.0-alpha.22@vuepress-theme-meteorlxy/lib/components/TheMain.vue |
这里的话一般会显示 |
emmm我大概知道了,这个估计 vuepress 1.x 的默认主题也挂了你可以试一试。 我在我的主题可以修一下 |
@W-qing 升级到 1.0.0-alpha.23 试一下 |
@meteorlxy thx,已解决。 |
在自定义的页面内添加了layout: SpecialLayout,
新建了.vuepress/components/SpecialLayout.vue组件,并提供了name属性,但还是会报错。
The text was updated successfully, but these errors were encountered: