mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +00:00
bf505eccd5
[skip release]
19 lines
292 B
Vue
Executable File
19 lines
292 B
Vue
Executable File
<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>
|