mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-16 13:48:13 +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
|
||||
export default defineEventHandler(() => {
|
||||
counter++
|
||||
return JSON.stringify(counter)
|
||||
return counter
|
||||
})
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user