1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-03-01 22:03:39 +00:00
Nuxt/test/fixtures/basic/server/api/random.ts
pooya parsa 888bd7c145
feat(nuxt): payload rendering support ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-10 15:57:16 +02:00

4 lines
115 B
TypeScript

export default eventHandler(() => {
return new Array(10).fill(0).map(() => Math.round(Math.random() * 10000))
})