Nuxt/test/fixtures/children/pages/patch/_id.vue

21 lines
237 B
Vue
Raw Normal View History

2017-10-31 17:33:46 +00:00
<template>
<div>
<h2>
_id: <i data-date-id>
{{ date }}
</i>
</h2>
<NuxtChild />
2017-10-31 17:33:46 +00:00
</div>
</template>
<script>
export default {
asyncData () {
2017-10-31 17:33:46 +00:00
return {
date: Date.now()
}
}
}
</script>