mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-17 19:25:13 +00:00
21 lines
241 B
Vue
21 lines
241 B
Vue
<template>
|
|
<div>
|
|
<h3>
|
|
child: <i data-date-child>
|
|
{{ date }}
|
|
</i>
|
|
</h3>
|
|
<NuxtChild />
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
asyncData() {
|
|
return {
|
|
date: Date.now()
|
|
}
|
|
}
|
|
}
|
|
</script>
|