Question By
Solved

Second Dashboard page

Solved
jetsetwilly

Jun 22nd, 2025 01:34 AM

Hi,

Its hard to understand the routing for /dashboard. Wanted to introduce a /dashboard2 or second page. Whats the best practice for getting another page like dashboard. Want to show/link it with sidebar menu (blank theme).

bobbyiliev

Jun 22nd, 2025 01:48 AM

Best Answer

Hey!

Wave uses Volt and Folio under the hood, so routing is handled automatically based on file structure in your theme.

If you want to add a second page like /dashboard2, just create a new file here: resources/themes/[your-theme]/pages/dashboard2/index.blade.php

Take a look at the /resources/themes/anchor/pages/dashboard/index.blade.php file as an example.

Folio will automatically register the route for you. Then, to show it in the sidebar, edit: resources/themes/[your-theme]/components/app/sidebar.blade.php Add a new item pointing to /dashboard2 or route('dashboard2').

No manual route definitions needed, Folio does the routing for you. If you want to dive deeper into how that works, here are the official docs:

Hope that this helps.

- Bobby

jetsetwilly

Jun 22nd, 2025 11:49 AM

Thank you Bobby, implemented and worx! Wave is great!

bobbyiliev

Jun 28th, 2025 04:57 AM

No problem! Happy to hear that!

Report
1