mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
docs: add vue
lang to sample code (#28247)
This commit is contained in:
parent
afc6e2b2e9
commit
dd50c3f41d
@ -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