Nuxt/examples/with-feathers/pages/about.vue

17 lines
248 B
Vue
Raw Normal View History

2017-01-11 19:13:38 +00:00
<template>
<div>
<p>Hi from {{ name }}</p>
<nuxt-link to="/">Home page</nuxt-link>
</div>
</template>
<script>
export default {
2017-02-28 14:17:49 +00:00
asyncData ({ req, isServer }) {
2017-01-11 19:13:38 +00:00
return {
name: req ? 'server' : 'client'
}
}
}
</script>