Nuxt/test/fixtures/ssr/pages/data.vue

16 lines
178 B
Vue

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