Merge pull request 'removed counter.ts and unused mounted' (#5) from remove_counter into dev

Reviewed-on: Mavorion/Dolphin-Frontent-Boilerplate#5
This commit is contained in:
Sandip Ghimire 2026-01-07 10:43:39 +05:45
commit aa7e9db1ca
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";