mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 14:45:15 +00:00
21 lines
464 B
JavaScript
21 lines
464 B
JavaScript
|
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>
|
||
|
<nuxt-link to='/about'>About page</nuxt-link>
|
||
|
</div>
|
||
|
}
|
||
|
}
|