mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 16:43:55 +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>
|