Skip to content

Commit 9f74da6

Browse files
committed
title
1 parent d2f334a commit 9f74da6

File tree

4 files changed

+4
-24
lines changed

4 files changed

+4
-24
lines changed

static/usage/v7/title/basic/vue.md

+1-6
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,7 @@
77
</ion-header>
88
</template>
99

10-
<script lang="ts">
10+
<script lang="ts" setup>
1111
import { IonHeader, IonToolbar, IonTitle } from '@ionic/vue';
12-
import { defineComponent } from 'vue';
13-
14-
export default defineComponent({
15-
components: { IonHeader, IonToolbar, IonTitle },
16-
});
1712
</script>
1813
```

static/usage/v7/title/collapsible-large-title/basic/vue.md

+1-6
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,7 @@
3939
</ion-content>
4040
</template>
4141

42-
<script lang="ts">
42+
<script lang="ts" setup>
4343
import { IonContent, IonHeader, IonToolbar, IonTitle, IonList, IonItem } from '@ionic/vue';
44-
import { defineComponent } from 'vue';
45-
46-
export default defineComponent({
47-
components: { IonContent, IonHeader, IonToolbar, IonTitle, IonList, IonItem },
48-
});
4944
</script>
5045
```

static/usage/v7/title/collapsible-large-title/buttons/vue.md

+1-6
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,7 @@
4545
</ion-content>
4646
</template>
4747

48-
<script lang="ts">
48+
<script lang="ts" setup>
4949
import { IonContent, IonHeader, IonToolbar, IonTitle, IonList, IonItem, IonButtons, IonButton } from '@ionic/vue';
50-
import { defineComponent } from 'vue';
51-
52-
export default defineComponent({
53-
components: { IonContent, IonHeader, IonToolbar, IonTitle, IonList, IonItem, IonButtons, IonButton },
54-
});
5550
</script>
5651
```

static/usage/v7/title/theming/css-properties/vue.md

+1-6
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,7 @@
5151
</ion-content>
5252
</template>
5353

54-
<script lang="ts">
54+
<script lang="ts" setup>
5555
import { IonContent, IonHeader, IonToolbar, IonTitle, IonList, IonItem } from '@ionic/vue';
56-
import { defineComponent } from 'vue';
57-
58-
export default defineComponent({
59-
components: { IonContent, IonHeader, IonToolbar, IonTitle, IonList, IonItem },
60-
});
6156
</script>
6257
```

0 commit comments

Comments
 (0)