Routing
On this page you will find how to add new routes and how we handled existing routes.
Overview
You can find all routes in src/App.js
file. In this file you can find all routes and their meta data.
You can follow our pattern or use your own pattern.
js
import React, { lazy, Suspense } from "react";
import { Routes, Route, Navigate } from "react-router-dom";
const Dashboard = lazy(() => import("./pages/dashboard"));
<Routes>
<Route path="dashboard" state="hide" element={<Dashboard />} />
</Routes>;