mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
40 lines
713 B
Vue
40 lines
713 B
Vue
<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>
|