We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c174f0d commit ef82c47Copy full SHA for ef82c47
packages/@vuepress/core/lib/client/components/Content.js
@@ -13,8 +13,7 @@ export default {
13
const pageKey = this.pageKey || this.$parent.$page.key
14
const pageComponent = getPageAsyncComponent(pageKey)
15
if (pageComponent) {
16
- Vue.component(pageKey, pageComponent)
17
- return h(pageKey)
+ return h(pageComponent)
18
}
19
return h('')
20
0 commit comments