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
bc03d7f80f
commit
3a72b9d1a4
@ -51,7 +51,7 @@ Sets the message with `politeness = "assertive"`
|
|||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
```ts
|
```vue [pages/index.vue]
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
const { message, politeness, set, polite, assertive } = useRouteAnnouncer({
|
const { message, politeness, set, polite, assertive } = useRouteAnnouncer({
|
||||||
politeness: 'assertive'
|
politeness: 'assertive'
|
||||||
|
Loading…
Reference in New Issue
Block a user