mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-18 10:17:16 +00:00
19 lines
292 B
Vue
19 lines
292 B
Vue
|
<template lang="pug">
|
||
|
div
|
||
|
p Hi from {{ name }}
|
||
|
NuxtLink(to="/") Home Page
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
asyncData() {
|
||
|
return {
|
||
|
name: process.static ? 'static' : (process.server ? 'server' : 'client')
|
||
|
}
|
||
|
},
|
||
|
head: {
|
||
|
title: 'About page'
|
||
|
}
|
||
|
}
|
||
|
</script>
|