add switch component

This commit is contained in:
2025-03-16 21:49:01 +08:00
parent 8f18560a38
commit d7ca474e39
6 changed files with 114 additions and 7 deletions

View File

@@ -65,7 +65,7 @@ const items = [
{ id: 4, icon: iconMenu, msg: "btn4" },
]
const themeSidebar = ref("")
const themeSidebar = ref("card-dash sidebar-base sidebar-open")
function closeSidebar() {
isClose.value = true;
@@ -104,6 +104,4 @@ function toggleSidebar() {
.sidebar-close {
@apply w-31
}
@custom-variant
</style>