initial commit

This commit is contained in:
helori_ollivier
2026-04-19 20:53:49 +02:00
parent 352c10e4b9
commit fb1bfa6123
34 changed files with 5925 additions and 1 deletions
+12
View File
@@ -0,0 +1,12 @@
import { ref, computed } from 'vue'
import { defineStore } from 'pinia'
export const useCounterStore = defineStore('counter', () => {
const count = ref(0)
const doubleCount = computed(() => count.value * 2)
function increment() {
count.value++
}
return { count, doubleCount, increment }
})