mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-19 15:10:58 +00:00
docs: remove unnecessary JSON.stringify()
(#18590)
This commit is contained in:
parent
64b835c707
commit
6c4cf5cdcb
@ -85,7 +85,7 @@ In brief, `useFetch` receives a URL and gets that data, whereas `useAsyncData` m
|
|||||||
let counter = 0
|
let counter = 0
|
||||||
export default defineEventHandler(() => {
|
export default defineEventHandler(() => {
|
||||||
counter++
|
counter++
|
||||||
return JSON.stringify(counter)
|
return counter
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user