mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-18 03:35:17 +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>
|
||
|
}
|
||
|
}
|