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 Daniel Roe
parent afc6e2b2e9
commit dd50c3f41d
No known key found for this signature in database
GPG Key ID: CBC814C393D93268

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'