Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix($core): '[Vue warn]: Unknown custom element' when using `<Content…
… />` in a custom page without markdown (#1699) **Bug**: example, , will raise `[Vue warn]: Unknown custom element`, like #1173 #1426 **Reason**: because it not inject any content in `@internal/page-components` while not find markdown file, `Vue.component` of `pageKey` must be `undefined`, then `h(pageKey)` raise this error **Fix**: judge as `if (Vue.component(pageKey))`, unnecessary to render if no component existed
- Loading branch information