constitutional-coralC
Refine2y ago
28 replies
constitutional-coral

Two resources in a single page

I want to create a single page with two different resource tables on it.
Is it possible?
How should I need to configure my Route on App.tsx?


<Route
path="/devices"
element={
<DevicessListPage>
<Outlet />
</DevicessListPage>
}
>
<Route index element={null} />
<Route path="show/:id" element={<DriverShowPage />} />
<Route
path="create"
element={
<DriverCreatePage>
<Outlet />
</DriverCreatePage>
}
>
</Route>
</Route>
Was this page helpful?