We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fda5476 commit e6af68fCopy full SHA for e6af68f
packages/@vuepress/core/lib/client/components/Content.js
@@ -1,4 +1,3 @@
1
-import { getPageAsyncComponent } from '../util'
2
3
export default {
4
props: {
@@ -10,9 +9,8 @@ export default {
10
9
},
11
render (h) {
12
const pageKey = this.pageKey || this.$parent.$page.key
13
- const pageComponent = getPageAsyncComponent(pageKey)
14
- if (pageComponent) {
15
- return h(pageComponent)
+ if (pageKey) {
+ return h(pageKey)
16
}
17
return h('')
18
0 commit comments