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

21 lines
242 B
Vue
Raw Normal View History

2017-10-31 17:33:46 +00:00
<template>
<div>
<h3>
child: <i data-date-child>
{{ date }}
</i>
</h3>
<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>