tambah menu sideBarMenu , middleware definepagemeta

This commit is contained in:
2025-07-10 15:06:05 +07:00
parent c37759cc8f
commit a8068553be
40 changed files with 3234 additions and 702 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import type { PageAccess } from "~/types/menuAkses/access";
export const useAccess = (pageRoute: string , userRole: string) => {
//const route = useRoute();
const getRole = "admin";
const getRole = userRole;
//const meta = route.path; //halaman yang sedang diakses
const meta = pageRoute