mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 06:35:10 +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>
|