develop
This commit is contained in:
parent
d76ee19be7
commit
26609eb46c
11 changed files with 251 additions and 70 deletions
15
frontend/src/components/SideBar.vue
Normal file
15
frontend/src/components/SideBar.vue
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<script setup>
|
||||
import { ref } from "vue";
|
||||
const isOpen = ref(true);
|
||||
const selectedItem = ref("home");
|
||||
|
||||
const onDisclosure = () => {
|
||||
isOpen = !isOpen;
|
||||
};
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="snw-side-bar">
|
||||
<button @click="onDisclosure">{{ isOpen ? "Close" : "Open" }}</button>
|
||||
</div>
|
||||
</template>
|
||||
Loading…
Add table
Add a link
Reference in a new issue