Nuxt/examples/hello-world/pages/about.vue
2017-10-28 14:09:21 +02:00

17 lines
272 B
Vue
Executable File

<template>
<div>
<p>Hi from {{ name }}</p>
<nuxt-link to="/">Home page</nuxt-link>
</div>
</template>
<script>
export default {
asyncData () {
return {
name: process.static ? 'static' : (process.server ? 'server' : 'client')
}
}
}
</script>