Nuxt/examples/with-feathers/pages/about.vue
2017-01-11 20:23:43 +01:00

17 lines
243 B
Vue

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