Skip to content

Commit 825cc69

Browse files
committed
feat(App): change prop to data
1 parent 5659f7e commit 825cc69

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

template/client/App.vue

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@
44

55
<script>
66
export default {
7-
props: {
8-
hello: {
9-
type: String,
10-
default: 'Hello World!',
11-
}
12-
}
7+
data: () => ({
8+
hello: 'Hello World!',
9+
}),
1310
}
1411
</script>
1512

0 commit comments

Comments
 (0)