penambahan tabel pencarian, form tambah, form ubah

This commit is contained in:
2024-11-08 13:36:24 +07:00
parent 23db6f226e
commit b475874694
16 changed files with 1870 additions and 633 deletions

27
components/Navbar.vue Normal file
View File

@@ -0,0 +1,27 @@
<template>
<div>
<v-app-bar>
<v-app-bar-title>Hello</v-app-bar-title>
<v-spacer />
<v-btn @click="toggleTheme">
<v-icon>ph:sun</v-icon>
toggle thema</v-btn>
</v-app-bar>
</div>
</template>
<script setup lang="ts">
import { ref } from "vue";
import { useTheme } from "vuetify";
import { storeToRefs } from "pinia";
const theme = useTheme();
function toggleTheme () {
theme.global.name.value = theme.global.current.value.dark ? 'light' : 'myTheme';
}
</script>
<style scoped>
</style>