mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-07 08:27:12 +00:00
22 lines
449 B
TypeScript
22 lines
449 B
TypeScript
import type { RouteObject } from "react-router";
|
|
|
|
import Root, { ErrorBoundary as RootErrorBoundary } from "./root";
|
|
import InstallApp from "./install-app";
|
|
|
|
export const installRoutes: RouteObject[] = [
|
|
{
|
|
path: "/",
|
|
Component: Root,
|
|
ErrorBoundary: RootErrorBoundary,
|
|
children: [
|
|
{
|
|
index: true,
|
|
Component: InstallApp,
|
|
},
|
|
{
|
|
path: "*",
|
|
Component: InstallApp,
|
|
},
|
|
],
|
|
},
|
|
];
|