Nuxt/examples/jsx/pages/about.js

22 lines
418 B
JavaScript
Raw Normal View History

2017-12-08 14:58:05 +00:00
import Test from '~/components/test.vue'
export default {
head: {
title: 'About Page',
meta: [
{ hid: 'description', name: 'description', content: 'About page description' }
]
},
components: {
Test
},
render () {
2017-12-08 14:58:05 +00:00
return <div class='container'>
<h1>About page</h1>
<test data='I am test component' />
<p><NuxtLink to='/'>Home page</NuxtLink></p>
2017-12-08 14:58:05 +00:00
</div>
}
}