Dashboard as First Page
How to set Dashboardas First page instead landing
This section explains how to set the Dashboard page as the default starting page, skipping the landing page, for cases where it is not needed.
Update route at: src/routes/index.txs
src\routes\index.txs
Add default dashboard route: src/routes/MainRoutes.tsx
src/routes/MainRoutes.tsx
Comment out the
AuthGuard
wrapper for the routes within theDashboard
element:
src/layout/Dashboard/index.tsx
Disabling authentication within the system would render certain applications non-functional, particularly those reliant on backend APIs. These applications require a valid token to access and load data seamlessly.
Last updated