diff --git a/fe/src/components/ExampleComponent.vue b/fe/src/components/ExampleComponent.vue deleted file mode 100644 index 668fd16..0000000 --- a/fe/src/components/ExampleComponent.vue +++ /dev/null @@ -1,37 +0,0 @@ - - - {{ title }} - - - {{ todo.id }} - {{ todo.content }} - - - Count: {{ todoCount }} / {{ meta.totalCount }} - Active: {{ active ? 'yes' : 'no' }} - Clicks on todos: {{ clickCount }} - - - - diff --git a/fe/src/stores/example-store.ts b/fe/src/stores/example-store.ts deleted file mode 100644 index 8640e9a..0000000 --- a/fe/src/stores/example-store.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { defineStore, acceptHMRUpdate } from 'pinia'; - -export const useCounterStore = defineStore('counter', { - state: () => ({ - counter: 0, - }), - - getters: { - doubleCount: (state) => state.counter * 2, - }, - - actions: { - increment() { - this.counter++; - }, - }, -}); - -if (import.meta.hot) { - import.meta.hot.accept(acceptHMRUpdate(useCounterStore, import.meta.hot)); -}
{{ title }}
Count: {{ todoCount }} / {{ meta.totalCount }}
Active: {{ active ? 'yes' : 'no' }}
Clicks on todos: {{ clickCount }}