removed counter.ts

This commit is contained in:
atamrakar 2026-01-07 10:34:44 +05:45
parent e6443a6514
commit 0bd4f9f71c
2 changed files with 1 additions and 13 deletions

View File

@ -1,12 +0,0 @@
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 };
});

View File

@ -43,7 +43,7 @@
</template>
<script setup lang="ts">
import { ref, onMounted } from "vue";
import { ref } from "vue";
import VChart from "vue-echarts";
import { use } from "echarts/core";
import { CanvasRenderer } from "echarts/renderers";