1 revised this gist . Go to revision
1 file changed, 9 insertions
test.vue(file created)
@@ -0,0 +1,9 @@ | |||
1 | + | <script> | |
2 | + | import { ref } from 'vue'; | |
3 | + | ||
4 | + | const count = ref(0) | |
5 | + | <script> | |
6 | + | ||
7 | + | <template> | |
8 | + | <button @click="() => count++">{{ count }}</button> | |
9 | + | </template> |
Newer
Older