docs: add vue lang to sample code (#28247)

This commit is contained in:
Quentin Macq 2024-07-21 21:03:15 +02:00 committed by GitHub
parent bc03d7f80f
commit 3a72b9d1a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,7 +51,7 @@ Sets the message with `politeness = "assertive"`
## Example
```ts
```vue [pages/index.vue]
<script setup lang="ts">
const { message, politeness, set, polite, assertive } = useRouteAnnouncer({
politeness: 'assertive'