chore: align srcDir=app structure (assets, composables, stores, plugins, pages) and prepare for correct alias resolution
This commit is contained in:
parent
bc2babbe90
commit
9a04893909
8 changed files with 10 additions and 10 deletions
|
|
@ -1,18 +0,0 @@
|
|||
import { defineStore } from "pinia";
|
||||
|
||||
export const useCounterStore = defineStore("counter", {
|
||||
state: () => ({
|
||||
count: 0,
|
||||
}),
|
||||
getters: {
|
||||
doubleCount: (state) => state.count * 2,
|
||||
},
|
||||
actions: {
|
||||
increment() {
|
||||
this.count += 1;
|
||||
},
|
||||
},
|
||||
persist: {
|
||||
paths: ["count"],
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue