Nuxt/examples/with-keep-alive/pages/about.vue

20 lines
310 B
Vue
Raw Normal View History

2018-01-17 08:46:48 +00:00
<template>
<div>
<p>Hi from {{ name }}</p>
<nuxt-link to="/">Home page</nuxt-link>
</div>
</template>
<script>
export default {
asyncData() {
return {
name: process.static ? 'static' : (process.server ? 'server' : 'client')
}
},
head: {
title: 'About page'
}
}
</script>