mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 01:52:19 +08:00
fix(vue): routing components define child components (#26107)
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user