mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-14 18:13:54 +00:00
e7cc2757c3
Co-authored-by: Alexander Lichter <manniL@gmx.net>
21 lines
237 B
Vue
21 lines
237 B
Vue
<template>
|
|
<div>
|
|
<h2>
|
|
_id: <i data-date-id>
|
|
{{ date }}
|
|
</i>
|
|
</h2>
|
|
<NuxtChild />
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
asyncData () {
|
|
return {
|
|
date: Date.now()
|
|
}
|
|
}
|
|
}
|
|
</script>
|