mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 17:37:14 +00:00
e7cc2757c3
Co-authored-by: Alexander Lichter <manniL@gmx.net>
19 lines
287 B
Vue
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>
|