You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vue.runtime.esm.js?2b0e:587 [Vue warn]: Unknown custom element: <Layout> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
found in
---> <Layout> at node_modules/@vuepress/theme-default/layouts/Layout.vue
<LayoutDistributor> at node_modules/@vuepress/core/lib/app/components/LayoutDistributor.vue
<Root>
If I change the layout parameter to one of my own component in .vuepress/components, It can work, but the global theme is lost.
By the way, if layout does use the default parameter Layout, what is the .md file the page based on to render the html?
What is expected?
No error when go to /blog/page/2/
What is actually happening?
[Vue warn]: Unknown custom element: in pagination-plugin when go to /blog/page/2/
Other relevant information
Your OS: Win10
Node.js version: 9.3.0
Browser version:
Is this a global or local install? local
Which package manager did you use for the install? npm
The text was updated successfully, but these errors were encountered:
https://github.com/AntiSomnus/vuepress-test
In this repo I can't go to /blog/page/2/,
if I set layout to one of my component, It could work, but I don't know how to maintain the theme in my custom component.
Bug report
Version
vuepress@1.0.0-alpha.9
@vuepress/plugin-pagination@1.0.0-alpha.10
Steps to reproduce
repo
In
config.js
of.vuepress
Then I modify
index.js
inpagination-plugin
to see whether it actually works.then I get
Then I goto
/blog/page/2/
I got this error:If I change the
layout
parameter to one of my own component in.vuepress/components
, It can work, but the global theme is lost.By the way, if
layout
does use the default parameterLayout
, what is the.md
file the page based on to render the html?What is expected?
No error when go to
/blog/page/2/
What is actually happening?
[Vue warn]: Unknown custom element: in pagination-plugin when go to
/blog/page/2/
Other relevant information
The text was updated successfully, but these errors were encountered: