Update hello-world example

This commit is contained in:
Sébastien Chopin 2016-12-24 14:15:24 +01:00
parent 31638c64da
commit e3ebb6a54e
2 changed files with 5 additions and 2 deletions

View File

@ -10,7 +10,7 @@ export default {
layout: 'dark', layout: 'dark',
data ({ req }) { data ({ req }) {
return { return {
name: req ? 'server' : 'client' name: req ? 'server' : 'client2'
} }
} }
} }

View File

@ -1,5 +1,8 @@
<template> <template>
<div>
<p>Hi from {{ name }}</p> <p>Hi from {{ name }}</p>
<nuxt-link to="/">Home page</nuxt-link>
</div>
</template> </template>
<script> <script>