1
0
mirror of https://github.com/nuxt/nuxt.git synced 2024-12-20 11:17:15 +00:00
Nuxt/examples/with-keep-alive/pages/about.vue

22 lines
320 B
Vue
Raw Normal View History

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