File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { renderer } from "./renderer";
9
9
10
10
import { install as modalsPlugin } from "./plugins/modals" ;
11
11
import { install as navigationPlugin } from "./plugins/navigation" ;
12
- import { isKnownView } from "./registry" ;
12
+ import { isKnownView , registerElement } from "./registry" ;
13
13
14
14
declare module "@vue/runtime-core" {
15
15
interface App {
@@ -19,6 +19,7 @@ declare module "@vue/runtime-core" {
19
19
isHydrate ?: boolean ,
20
20
isSVG ?: boolean
21
21
) : ComponentPublicInstance ;
22
+ registerElement : typeof registerElement ;
22
23
}
23
24
}
24
25
@@ -65,6 +66,7 @@ export const render = renderer.render;
65
66
export const createApp = ( ( ...args ) => {
66
67
const app = renderer . createApp ( ...args ) ;
67
68
const { mount } = app ;
69
+ app . registerElement = registerElement ;
68
70
69
71
app . mount = ( ...args ) => {
70
72
if ( ! args . length ) {
You can’t perform that action at this time.
0 commit comments