mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:29:45 +00:00
перенес структуру Севы со своими правками
This commit is contained in:
1 parent
3a1cac0dfe
commit
808d97eb4b
331 files changed
+12260
-19950
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import Root from "@/app/Layout/Root";
|
||||
import { routeConfig } from "@/shared/config/routeConfig/routeConfig";
|
||||
import { createBrowserRouter } from "react-router-dom";
|
||||
|
||||
export const appRouter = createBrowserRouter([
|
||||
{
|
||||
element: <Root />,
|
||||
|
||||
children: Object.values(routeConfig).map((route) => ({
|
||||
path: route.path,
|
||||
element: route.element,
|
||||
})),
|
||||
},
|
||||
]);
|
||||
Reference in new issue
Block a user