chore: init

This commit is contained in:
Anthony Fu committed 2021-11-02 11:10:42 +08:00
commit 0fb1b4e8dd
20 files changed
+7475

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
<script setup lang='ts'>
const { count, inc, dec } = useCount()
</script>
<template>
<div m="y-3">
<button border="~ rounded gray-400" class="px-2 mx-2 hover:bg-gray-400/20 !outline-none" @click="dec()">
dec
</button>
<span font="mono">{{ count }}</span>
<button border="~ rounded gray-400" class="px-2 mx-2 hover:bg-gray-400/20 !outline-none" @click="inc()">
inc
</button>
</div>
</template>