Nuxt/examples/with-featherjs/pages/about.vue
2017-01-11 20:15:09 +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>