Closed
Description
- I confirm that this is an issue rather than a question.
Bug report
Version
v1.0.0-alpha.44
Steps to reproduce
What is expected?
A new component in theme/layouts
directory should be available as layout.
What is actually happening?
Sometimes when navigating through the app, a page is not loaded, and an "Unknown custom element" error is thrown.
It can be a custom layout or not.
The page is ok if I refresh it.
It don't know how to reproduce the bug and find a proper pattern for that.
[Vue warn]: Unknown custom element: <Tag> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
found in
---> <GlobalLayout> at node_modules/@vuepress/core/lib/client/components/GlobalLayout.vue
<Root>
[Vue warn]: Unknown custom element: <v-b2bf5494> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
found in
---> <Content>
<Page> at node_modules/@vuepress/theme-default/components/Page.vue
<ParentLayout> at node_modules/@vuepress/theme-default/layouts/Layout.vue
<Layout> at .vuepress/theme/layouts/Layout.vue
<GlobalLayout> at node_modules/@vuepress/core/lib/client/components/GlobalLayout.vue
<Root>
---> <GlobalLayout> at node_modules/@vuepress/core/lib/client/components/GlobalLayout.vue
<Root>
[Vue warn]: Unknown custom element: <Post> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
found in
---> <GlobalLayout> at node_modules/@vuepress/core/lib/client/components/GlobalLayout.vue
<Root>
Other relevant information
I'm using the blog plugin, and it adds some layout automatically to pages.
All my Layout components have a name key.
Metadata
Metadata
Assignees
Labels
No labels