mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-16 13:48:13 +00:00
docs: fix variable name (#27675)
This commit is contained in:
parent
324573f73d
commit
7d942f1b5b
@ -227,7 +227,7 @@ Combined with the `lazy` option, this can be useful for data that is not needed
|
|||||||
const articles = await useFetch('/api/article')
|
const articles = await useFetch('/api/article')
|
||||||
|
|
||||||
/* This call will only be performed on the client */
|
/* This call will only be performed on the client */
|
||||||
const { pending, data: posts } = useFetch('/api/comments', {
|
const { pending, data: comments } = useFetch('/api/comments', {
|
||||||
lazy: true,
|
lazy: true,
|
||||||
server: false
|
server: false
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user