Skip to content

Commit 5659f7e

Browse files
committed
feat(template): add hello prop
1 parent 7b1c31f commit 5659f7e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

template/client/App.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
<template lang="html">
2-
<h1>Hello World!</h1>
2+
<h1>{{ hello }}</h1>
33
</template>
44

55
<script>
66
export default {
7+
props: {
8+
hello: {
9+
type: String,
10+
default: 'Hello World!',
11+
}
12+
}
713
}
814
</script>
915

0 commit comments

Comments
 (0)