mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 21:15:24 +08:00
fix(vue): routing components define child components (#26107)
This commit is contained in:
@ -1,10 +1,9 @@
|
||||
import { h, defineComponent, shallowRef, VNode } from 'vue';
|
||||
import { defineCustomElement } from '../utils';
|
||||
import { IonApp as IonAppCmp } from '@ionic/core/components/ion-app.js';
|
||||
import { defineCustomElement } from '@ionic/core/components/ion-app.js';
|
||||
|
||||
const userComponents = shallowRef([]);
|
||||
export const IonApp = /*@__PURE__*/ defineComponent((_, { attrs, slots }) => {
|
||||
defineCustomElement('ion-app', IonAppCmp);
|
||||
defineCustomElement();
|
||||
return () => {
|
||||
return h(
|
||||
'ion-app',
|
||||
|
Reference in New Issue
Block a user