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

18 lines
232 B
Vue
Raw Normal View History

2017-10-31 17:33:46 +00:00
<template>
<div>
2017-11-01 15:44:27 +00:00
<h1>patch: <i data-date-patch>{{ date }}</i></h1>
2017-10-31 17:33:46 +00:00
<nuxt-child/>
</div>
</template>
<script>
export default {
layout: 'patch',
asyncData() {
return {
date: Date.now()
}
}
}
</script>