example: Add titles

This commit is contained in:
Sébastien Chopin 2018-01-17 09:43:11 +01:00
parent 1ea0a9a6f2
commit cb1a4e9336
2 changed files with 11 additions and 0 deletions

View File

@ -11,6 +11,9 @@ export default {
return {
name: process.static ? 'static' : (process.server ? 'server' : 'client')
}
},
head: {
title: 'About page'
}
}
</script>

View File

@ -4,3 +4,11 @@
<nuxt-link to="/about">About page</nuxt-link>
</div>
</template>
<script>
export default {
head: {
title: 'Home page'
}
}
</script>