mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-18 10:17:16 +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>
|