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

17 lines
197 B
Vue

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