Nuxt/examples/with-feathers/pages/about.vue
2017-02-28 15:17:49 +01:00

17 lines
248 B
Vue

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