mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 18:54:11 +08:00
fix(vue): routing components define child components (#26107)
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
import { h, defineComponent, inject } from 'vue';
|
||||
import { defineCustomElement } from '../utils';
|
||||
import { IonTabButton as IonTabButtonCmp } from '@ionic/core/components/ion-tab-button.js';
|
||||
import { defineCustomElement } from '@ionic/core/components/ion-tab-button.js';
|
||||
|
||||
export const IonTabButton = /*@__PURE__*/ defineComponent({
|
||||
name: 'IonTabButton',
|
||||
@ -16,7 +15,7 @@ export const IonTabButton = /*@__PURE__*/ defineComponent({
|
||||
target: String
|
||||
},
|
||||
setup(props, { slots }) {
|
||||
defineCustomElement('ion-tab-button', IonTabButtonCmp);
|
||||
defineCustomElement();
|
||||
|
||||
const ionRouter: any = inject('navManager');
|
||||
const onClick = (ev: Event) => {
|
||||
|
Reference in New Issue
Block a user