Shows some quick stats about your teal.fm records. Kind of like Spotify Wrapped
at main 12 lines 306 B view raw
1import { ref, computed } from 'vue' 2import { defineStore } from 'pinia' 3 4export const useCounterStore = defineStore('counter', () => { 5 const count = ref(0) 6 const doubleCount = computed(() => count.value * 2) 7 function increment() { 8 count.value++ 9 } 10 11 return { count, doubleCount, increment } 12})