We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
parent
1 parent dd923d6 commit dc7be95Copy full SHA for dc7be95
packages/@vuepress/core/lib/app/components/Content.js
@@ -13,7 +13,7 @@ export default {
13
if (Vue.$vuepress.isPageExists(pageKey)) {
14
// In SSR, if a component is not registered with the component option
15
// vue-server-renderer will not be able to resovle it.
16
- if (!parent.$ssrContext) {
+ if (!this.$parent.$ssrContext) {
17
Vue.$vuepress.registerPageAsyncComponent(pageKey)
18
}
19
0 commit comments