mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 07:05:11 +00:00
docs: add vue
lang to sample code (#28247)
This commit is contained in:
parent
bc03d7f80f
commit
3a72b9d1a4
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user