Nuxt/examples/jsx/pages/index.js
pooya parsa e7cc2757c3 refactor: update eslint-config to 1.x
Co-authored-by: Alexander Lichter <manniL@gmx.net>
2019-07-10 15:15:49 +04:30

21 lines
463 B
JavaScript
Executable File

export default {
head: {
title: 'Home page 🚀',
meta: [
{ hid: 'description', name: 'description', content: 'Home page description' }
],
script: [
{ src: '/head.js' },
// Supported since 1.0
{ src: '/body.js', body: true },
{ src: '/defer.js', defer: '' }
]
},
render () {
return <div class='container'>
<h1>Home page 🚀</h1>
<NuxtLink to='/about'>About page</NuxtLink>
</div>
}
}