Nuxt/test/fixtures/ssr/pages/data.vue
2017-07-03 22:49:22 +04:30

16 lines
192 B
Vue

<template>
<foobar>{{id}}</foobar>
</template>
<script>
import { nextId } from '@/lib/db'
export default {
data() {
return {
id: nextId()
}
}
}
</script>