mirror of
https://github.com/rekryt/iplist.git
synced 2025-10-12 16:39:35 +03:00
feat: new frontend
This commit is contained in:
10
frontend/stores/main.ts
Normal file
10
frontend/stores/main.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export const useMainStore = defineStore('main', {
|
||||
state: () => ({
|
||||
sidebar: false,
|
||||
}),
|
||||
actions: {
|
||||
toggleSidebar() {
|
||||
this.sidebar = !this.sidebar;
|
||||
},
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user