Nuxt/test/fixtures/ssr/components/test.vue

16 lines
178 B
Vue

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