2016-11-07 01:34:58 +00:00
|
|
|
<template>
|
2016-12-24 13:15:24 +00:00
|
|
|
<div>
|
|
|
|
<p>Hi from {{ name }}</p>
|
2018-12-11 17:07:04 +00:00
|
|
|
<n-link to="/">Home page</n-link>
|
2016-12-24 13:15:24 +00:00
|
|
|
</div>
|
2016-11-07 01:34:58 +00:00
|
|
|
</template>
|
2016-11-07 19:57:44 +00:00
|
|
|
|
2016-11-17 10:57:02 +00:00
|
|
|
<script>
|
|
|
|
export default {
|
2017-10-31 13:43:55 +00:00
|
|
|
asyncData() {
|
2016-11-17 10:57:02 +00:00
|
|
|
return {
|
2017-10-28 12:09:21 +00:00
|
|
|
name: process.static ? 'static' : (process.server ? 'server' : 'client')
|
2016-11-17 10:57:02 +00:00
|
|
|
}
|
2018-01-17 08:43:11 +00:00
|
|
|
},
|
|
|
|
head: {
|
|
|
|
title: 'About page'
|
2016-11-17 10:57:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|