Skip to content

Commit

Permalink
feat(template): add hello prop
Browse files Browse the repository at this point in the history
  • Loading branch information
klarkc committed Oct 29, 2017
1 parent 7b1c31f commit 5659f7e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion template/client/App.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
<template lang="html">
<h1>Hello World!</h1>
<h1>{{ hello }}</h1>
</template>

<script>
export default {
props: {
hello: {
type: String,
default: 'Hello World!',
}
}
}
</script>

Expand Down

0 comments on commit 5659f7e

Please sign in to comment.