Nuxt/test/fixtures/with-config/pages/about.vue
pooya parsa e7cc2757c3 refactor: update eslint-config to 1.x
Co-authored-by: Alexander Lichter <manniL@gmx.net>
2019-07-10 15:15:49 +04:30

19 lines
287 B
Vue

<template>
<div>
<h1>About page</h1>
<h2>{{ meta[0].text }}</h2>
<NuxtLink to="/">
Home page
</NuxtLink>
</div>
</template>
<script>
export default {
layout: 'custom',
asyncData ({ route }) {
return { meta: route.meta || 'empty-meta' }
}
}
</script>