mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-05 21:53:56 +00:00
22 lines
417 B
JavaScript
22 lines
417 B
JavaScript
|
|
import Test from '~/components/test.vue'
|
|
|
|
export default {
|
|
head: {
|
|
title: 'About Page',
|
|
meta: [
|
|
{ hid: 'description', name: 'description', content: 'About page description' }
|
|
]
|
|
},
|
|
components: {
|
|
Test
|
|
},
|
|
render() {
|
|
return <div class='container'>
|
|
<h1>About page</h1>
|
|
<test data='I am test component' />
|
|
<p><NuxtLink to='/'>Home page</NuxtLink></p>
|
|
</div>
|
|
}
|
|
}
|