mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
22 lines
419 B
JavaScript
22 lines
419 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><nuxt-link to='/'>Home page</nuxt-link></p>
|
||
|
</div>
|
||
|
}
|
||
|
}
|