docs: use lang="ts" everywhere

This commit is contained in:
Benjamin Canac
2024-02-14 17:41:10 +01:00
parent 300861a49e
commit c488b28c3c
13 changed files with 15 additions and 15 deletions

View File

@@ -42,7 +42,7 @@ Then, you can use the `useToast` composable to add notifications to your app:
When using `toast.add`, this will push a new notification to the stack displayed in `<UNotifications />`. All the props of the `Notification` component can be passed to `toast.add`.
```vue
<script setup>
<script setup lang="ts">
const toast = useToast()
onMounted(() => {