mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(vue): all ionic vue components can now use router link (#22743)
This commit is contained in:
@ -42,10 +42,7 @@ export const IonButton = /*@__PURE__*/ defineContainer<JSX.IonButton>('ion-butto
|
||||
'type',
|
||||
'ionFocus',
|
||||
'ionBlur'
|
||||
],
|
||||
{
|
||||
"routerLinkComponent": true
|
||||
});
|
||||
]);
|
||||
|
||||
|
||||
export const IonButtons = /*@__PURE__*/ defineContainer<JSX.IonButtons>('ion-buttons', [
|
||||
@ -64,10 +61,7 @@ export const IonCard = /*@__PURE__*/ defineContainer<JSX.IonCard>('ion-card', [
|
||||
'routerDirection',
|
||||
'routerAnimation',
|
||||
'target'
|
||||
],
|
||||
{
|
||||
"routerLinkComponent": true
|
||||
});
|
||||
]);
|
||||
|
||||
|
||||
export const IonCardContent = /*@__PURE__*/ defineContainer<JSX.IonCardContent>('ion-card-content');
|
||||
@ -195,10 +189,7 @@ export const IonFab = /*@__PURE__*/ defineContainer<JSX.IonFab>('ion-fab', [
|
||||
'vertical',
|
||||
'edge',
|
||||
'activated'
|
||||
],
|
||||
{
|
||||
"routerLinkComponent": true
|
||||
});
|
||||
]);
|
||||
|
||||
|
||||
export const IonFabButton = /*@__PURE__*/ defineContainer<JSX.IonFabButton>('ion-fab-button', [
|
||||
@ -218,10 +209,7 @@ export const IonFabButton = /*@__PURE__*/ defineContainer<JSX.IonFabButton>('ion
|
||||
'closeIcon',
|
||||
'ionFocus',
|
||||
'ionBlur'
|
||||
],
|
||||
{
|
||||
"routerLinkComponent": true
|
||||
});
|
||||
]);
|
||||
|
||||
|
||||
export const IonFabList = /*@__PURE__*/ defineContainer<JSX.IonFabList>('ion-fab-list', [
|
||||
@ -324,10 +312,7 @@ export const IonItem = /*@__PURE__*/ defineContainer<JSX.IonItem>('ion-item', [
|
||||
'routerDirection',
|
||||
'target',
|
||||
'type'
|
||||
],
|
||||
{
|
||||
"routerLinkComponent": true
|
||||
});
|
||||
]);
|
||||
|
||||
|
||||
export const IonItemDivider = /*@__PURE__*/ defineContainer<JSX.IonItemDivider>('ion-item-divider', [
|
||||
|
Reference in New Issue
Block a user