Getting Started
Dashboard Pages
Custom Dashboard Pages can just normally added to the pages/ Folder.
Sidebar
To add a page to the Sidebar you can define some custom PageMeta
pages/analytics.vue
<script setup lang="ts">
definePageMeta({
name: 'Analytics',
showSidebar: true,
icon: 'i-heroicons-analytics',
});
</script>
Parameters
Meta
- Type:
string
Name of the Page
name - Type:
boolean
If the page will be shown in the sidebarshowSidebar - Type:
string
The icon that will be shown in the mobile Navigationicon