Skip to content

Commit

Permalink
docs: add vue lang to sample code (nuxt#28247)
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinmcq authored Jul 21, 2024
1 parent bc03d7f commit 3a72b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/3.api/2.composables/use-route-announcer.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 3a72b9d

Please sign in to comment.