Skip to content

Commit cce5dc8

Browse files
committed
chore: use script setup
1 parent e96c467 commit cce5dc8

File tree

1 file changed

+1
-13
lines changed
  • static/usage/v7/toast/swipe-gesture

1 file changed

+1
-13
lines changed

static/usage/v7/toast/swipe-gesture/vue.md

+1-13
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,7 @@
1717
</ion-footer>
1818
</template>
1919

20-
<script lang="ts">
20+
<script setup lang="ts">
2121
import { IonButton, IonContent, IonFooter, IonTitle, IonToast, IonToolbar } from '@ionic/vue';
22-
import { defineComponent } from 'vue';
23-
24-
export default defineComponent({
25-
components: {
26-
IonButton,
27-
IonContent,
28-
IonFooter,
29-
IonTitle,
30-
IonToast,
31-
IonToolbar,
32-
},
33-
});
3422
</script>
3523
```

0 commit comments

Comments
 (0)