initial-commit
This commit is contained in:
11
components/Counter.vue
Normal file
11
components/Counter.vue
Normal file
@@ -0,0 +1,11 @@
|
||||
<template>
|
||||
<button type="button" @click="state.count++">
|
||||
Counter {{ state.count }}
|
||||
</button>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { reactive } from 'vue'
|
||||
|
||||
const state = reactive({ count: 0 })
|
||||
</script>
|
||||
Reference in New Issue
Block a user