@@ -0,0 +1,12 @@
+import { defineStore } from 'pinia';
+
+export const useCounterStore = defineStore('counter', {
+ state: () => {
+ return { count: 0 };
+ },
+ actions: {
+ increment() {
+ this.count++;
+});