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

4 lines
53 B
JavaScript
Raw Normal View History

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