Nuxt/examples/hello-world/pages/about.vue
2016-11-27 13:39:52 +01:00

14 lines
170 B
Vue
Executable File

<template>
<p>Hi from {{ name }}</p>
</template>
<script>
export default {
data ({ req }) {
return {
name: req ? 'server' : 'client'
}
}
}
</script>