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
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
0 commit comments