diff options
| author | 2023-04-19 17:30:39 +0800 | |
|---|---|---|
| committer | 2023-04-19 17:30:39 +0800 | |
| commit | 3adc965dd09490b7efa1cce9f09b0a3b30970277 (patch) | |
| tree | f813abb07d7b003984aa74e3154752b6ffc3ccd5 /docs/.playground/components | |
| parent | c7c9ca6f0c8eddf6d34cd40779f3b2d9463f3a46 (diff) | |
| download | HydroRoll-3adc965dd09490b7efa1cce9f09b0a3b30970277.tar.gz HydroRoll-3adc965dd09490b7efa1cce9f09b0a3b30970277.zip | |
✨优化文档
Diffstat (limited to 'docs/.playground/components')
| -rw-r--r-- | docs/.playground/components/content/CounterButton.vue | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/.playground/components/content/CounterButton.vue b/docs/.playground/components/content/CounterButton.vue new file mode 100644 index 0000000..35ef97b --- /dev/null +++ b/docs/.playground/components/content/CounterButton.vue @@ -0,0 +1,17 @@ +<script setup> +const count = ref(0) +</script> + +<template> + <button @click="count++"> + {{ count }} + </button> +</template> + +<style scoped> +button { + border: 1px #ddd solid; + padding: 3px 10px; + border-radius: 5px; +} +</style> |
