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

22 lines
260 B
Vue

<template>
<div>
<h1>
patch: <i data-date-patch>
{{ date }}
</i>
</h1>
<NuxtChild />
</div>
</template>
<script>
export default {
layout: 'patch',
asyncData() {
return {
date: Date.now()
}
}
}
</script>