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

22 lines
260 B
Vue
Raw Normal View History

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