fix(vue): modal, popover, and nav are now created within application context (#22282)

resolves #22079
This commit is contained in:
Liam DeBeasi
2020-10-12 15:07:49 -04:00
committed by GitHub
parent 181d322192
commit 6026c65b1a
20 changed files with 405 additions and 136 deletions

View File

@ -0,0 +1,39 @@
<template>
<ion-header>
<ion-toolbar>
<ion-buttons>
<ion-back-button></ion-back-button>
</ion-buttons>
<ion-title>Nav - Child</ion-title>
</ion-toolbar>
</ion-header>
<ion-content class="ion-padding" id="nav-child-content">
{{ title }}
</ion-content>
</template>
<script lang="ts">
import {
IonButtons,
IonBackButton,
IonContent,
IonHeader,
IonTitle,
IonToolbar
} from '@ionic/vue';
import { defineComponent } from 'vue';
export default defineComponent({
props: {
title: { type: String, default: 'Default Title' }
},
components: {
IonButtons,
IonBackButton,
IonContent,
IonHeader,
IonTitle,
IonToolbar
}
})
</script>