graph LR
RootApp["RootApp"]
Router["Router"]
AppLayout["AppLayout"]
AuthLayout["AuthLayout"]
RouterBypass["RouterBypass"]
Header["Header"]
Sidebar["Sidebar"]
DashboardPage["DashboardPage"]
Unclassified["Unclassified"]
RootApp -- "Uses / Instantiates" --> Router
Router -- "Layout selection (admin routes)" --> AppLayout
Router -- "Layout selection (auth routes)" --> AuthLayout
Router -- "Layout selection (payments & other public routes)" --> RouterBypass
AppLayout -- "Containment (chrome)" --> Header
AppLayout -- "Containment (chrome)" --> Sidebar
AppLayout -- "Slot / Outlet (nested <router‑view/>)" --> DashboardPage
Header -- "Command (navigation)" --> Router
Sidebar -- "Command (navigation)" --> Router
RouterBypass -- "Slot / Outlet (nested <router‑view/>)" --> Payments_child_pages
The graph models the navigation and layout architecture of a Vue 3 application. The RootApp bootstraps the Vue instance, registers the Router, Pinia stores, i18n, and UI libraries, and mounts the app. The Router acts as the central navigation engine, mapping URLs to three top‑level layout shells—AppLayout for authenticated admin pages, AuthLayout for authentication pages, and RouterBypass for public or embedded sections. Each layout contains its own UI chrome: AppLayout embeds a Header and Sidebar that issue navigation commands back to the Router, while the layout’s inner <router‑view/> renders feature pages such as DashboardPage. AuthLayout and RouterBypass provide minimal containers that simply render their child pages. This hierarchy creates a clear top‑down flow: RootApp → Router → Layout → Chrome (Header/Sidebar) → Feature Page, with navigation commands flowing back from Header and Sidebar to the Router.
Root Vue application bootstrap; creates the Vue app, registers router, Pinia stores, i18n, Vuestic UI, and mounts the app. Also includes the root App.vue component that renders the top‑level <router‑view/>.
Related Classes/Methods:
Vue‑Router instance that declares routes, selects one of three layout shells (AppLayout, AuthLayout, RouterBypass), and lazy‑loads page components.
Related Classes/Methods:
Authenticated admin layout shell; composes Header and Sidebar, provides persistent chrome, and contains a nested <router‑view/> where feature pages are rendered.
Related Classes/Methods:
Minimal layout used for authentication pages; renders a centered <router‑view/> without the admin chrome.
Related Classes/Methods:
Lightweight layout for public or embedded pages (e.g., payments); renders a plain <router‑view/> and serves as a parent for child routes.
Related Classes/Methods:
Top navigation bar component; reads global store to react to sidebar state and emits navigation actions via and click handlers.
Related Classes/Methods:
Collapsible side‑menu component; renders navigation routes and triggers router.push on menu item clicks.
Related Classes/Methods:
Example authenticated page; lazy‑loaded by the router, consumes Pinia stores/composables, and is displayed inside the <router‑view/> of AppLayout.
Related Classes/Methods:
Component for all unclassified files and utility functions (Utility functions/External Libraries/Dependencies)
Related Classes/Methods: None