Nuxt/examples/minimal-features/pages/about.vue

22 lines
318 B
Vue
Raw Normal View History

<template>
<div>
<p>Hi from {{ name }}</p>
<nuxt-link to="/">
Home page
</nuxt-link>
</div>
</template>
<script>
export default {
data () {
return {
name: process.static ? 'static' : (process.server ? 'server' : 'client')
}
},
head: {
title: 'About page'
}
}
</script>