Nuxt/examples/head-elements/pages/index.vue
2016-11-14 23:59:54 +01:00

26 lines
421 B
Vue
Executable File

<template>
<div class="container">
<h1>Home page 🚀</h1>
<router-link to="/about">Go to /about</router-link>
</div>
</template>
<script>
export default {
head: {
title: 'Home page 🚀',
meta: [
{ hid: 'description', name: 'description', content: 'Home page description' }
]
}
}
</script>
<style>
.container {
text-align: center;
margin-top: 150px;
font-size: 20px;
}
</style>