import { Suspense, lazy } from "react"; const Merchant = lazy(() => import("@/pages/merchants")); const ProductType = lazy(() => import("@/pages/merchants/productType")); const ProductUnit = lazy(() => import("@/pages/merchants/productUnit")); const Project = lazy(() => import("@/pages/project")); export const merchantRouter = [ { path: "/merchant", index: true, element: ( ), }, { path: "/project", index: true, element: ( ), }, { path: "/productType", index: true, element: ( ), }, { path: "/productUnit", index: true, element: ( ), }, ];