Nuxt/examples/async-data/server/api/count.js

4 lines
53 B
JavaScript
Raw Normal View History

2021-04-23 20:30:43 +00:00
let ctr = 0
export default () => ({ count: ++ctr })