bd98bb815a
- Add type casting for route.meta.title in index.vue - Update tailwind css path in components.json - Remove unused imports and simplify dashboard component
18 lines
337 B
Vue
18 lines
337 B
Vue
<script setup lang="ts">
|
|
definePageMeta({
|
|
middleware: ['rbac'],
|
|
roles: ['doctor', 'nurse', 'admisi', 'pharmacy', 'billing', 'management'],
|
|
title: 'Dashboard',
|
|
contentFrame: 'cf-full-width',
|
|
})
|
|
|
|
const route = useRoute()
|
|
useHead({
|
|
title: () => route.meta.title as string,
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<FlowDashboard />
|
|
</template>
|