Nuxt/examples/async-data/server/api/count.js
2021-04-23 22:30:43 +02:00

4 lines
53 B
JavaScript

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