Nuxt/test/fixtures/basic/server/api/useAsyncData/count.ts
pooya parsa 5a17458af5
fix(nuxt): use shared state for asyncData (#7055)
Co-authored-by: Ohb00 <43827372+OhB00@users.noreply.github.com>
2022-08-30 12:34:09 +02:00

4 lines
61 B
TypeScript

let counter = 0
export default () => ({ count: counter++ })