first commit

This commit is contained in:
2026-04-09 21:35:06 +08:00
commit 22fe6e069c
38 changed files with 12631 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import { defineStore } from 'pinia';
import { ref } from 'vue';
export const useAppStore = defineStore('app', () => {
const title = ref('My App');
const collapsed = ref(false);
function toggleSidebar() {
collapsed.value = !collapsed.value;
}
return { title, collapsed, toggleSidebar };
});