mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-04 19:37:18 +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>
|