Nuxt/test/fixtures/with-config/pages/about.vue

19 lines
286 B
Vue
Raw Normal View History

2016-12-21 14:03:37 +00:00
<template>
<div>
<h1>About page</h1>
<h2>{{ meta[0].text }}</h2>
<NuxtLink to="/">
Home page
</NuxtLink>
2016-12-21 14:03:37 +00:00
</div>
</template>
2016-12-24 17:50:40 +00:00
<script>
export default {
layout: 'custom',
asyncData({ route }) {
return { meta: route.meta || 'empty-meta' }
}
2016-12-24 17:50:40 +00:00
}
</script>