mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +08:00
chore(): sync with main
This commit is contained in:
@ -311,6 +311,17 @@ export const IonRouterOutlet = /*@__PURE__*/ defineComponent({
|
||||
if (!enteringViewItem) {
|
||||
enteringViewItem = viewStacks.createViewItem(id, matchedRouteRef.value.components.default, matchedRouteRef.value, currentRoute);
|
||||
viewStacks.add(enteringViewItem);
|
||||
|
||||
/**
|
||||
* All views that can be transitioned to must have
|
||||
* an `<ion-page>` element for transitions and lifecycle
|
||||
* methods to work properly.
|
||||
*/
|
||||
if (enteringViewItem.vueComponent?.components?.IonPage === undefined) {
|
||||
console.warn(`[@ionic/vue Warning]: The view you are trying to render for path ${currentRoute.pathname} does not have the required <ion-page> component. Transitions and lifecycle methods may not work as expected.
|
||||
|
||||
See https://ionicframework.com/docs/vue/navigation#ionpage for more information.`);
|
||||
}
|
||||
}
|
||||
|
||||
if (!enteringViewItem.mount) {
|
||||
|
@ -68,7 +68,32 @@ export {
|
||||
BackButtonEvent,
|
||||
|
||||
// Swiper
|
||||
IonicSwiper
|
||||
IonicSwiper,
|
||||
|
||||
SpinnerTypes,
|
||||
|
||||
ActionSheetOptions,
|
||||
ActionSheetButton,
|
||||
|
||||
AlertOptions,
|
||||
AlertInput,
|
||||
AlertTextareaAttributes,
|
||||
AlertInputAttributes,
|
||||
AlertButton,
|
||||
|
||||
LoadingOptions,
|
||||
|
||||
ModalOptions,
|
||||
|
||||
PickerOptions,
|
||||
PickerButton,
|
||||
PickerColumn,
|
||||
PickerColumnOption,
|
||||
|
||||
PopoverOptions,
|
||||
|
||||
ToastOptions,
|
||||
ToastButton
|
||||
} from '@ionic/core/components';
|
||||
|
||||
// Icons that are used by internal components
|
||||
|
Reference in New Issue
Block a user