fix(vue): routing components define child components (#26107)

This commit is contained in:
Liam DeBeasi
2022-10-13 12:35:15 -05:00
committed by GitHub
parent 5e4892676c
commit d60973b244
8 changed files with 15 additions and 31 deletions

View File

@ -57,11 +57,3 @@ export const getConfig = (): CoreConfig | null => {
}
return null;
};
export const defineCustomElement = (tagName: string, customElement: any) => {
if (typeof customElements === 'undefined') return;
if (!customElements.get(tagName)) {
customElements.define(tagName, customElement);
}
}