mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 22:25:12 +00:00
5a8e6e4bdf
[skip release]
19 lines
286 B
Vue
19 lines
286 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>
|