Nuxt/test/fixtures/ssr/pages/data.vue
2017-10-31 14:26:19 +01:00

16 lines
174 B
Vue

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