Navigation
Learn how to manage navigation configuration for your application.
Navigation is sidebar list of links that helps users to navigate through the application.
We store the configuration in src/config/navigation.ts
.
The configuration has the following structure:
For details you can find the interfaces in src/types/navigation.ts
Navigation Category
-
teams
The teams configuration is used to display the switch list on the top of sidebar. -
main
The main configuration is used to display the main navigation links. We use for pages of dashboard, smart-home, etc. -
general
The general configuration is used to display the general navigation links. We use for pages of customer, product, jobs, etc.
How Add New Category
Will be automatic generate on the sidebar with label secondary.
For configure manually you can find a component in src/components/app-sidebar.tsx