diff options
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> |
