We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
routes.ts
1 parent d47a918 commit a18acbbCopy full SHA for a18acbb
templates/basic/app/routes.ts
@@ -1,4 +1,3 @@
1
-import type { RouteConfig } from "@react-router/dev/routes";
2
-import { index } from "@react-router/dev/routes";
+import { type RouteConfig, index } from "@react-router/dev/routes";
3
4
-export default [index("routes/home.tsx")] satisfies RouteConfig;
+export const routes: RouteConfig = [index("routes/home.tsx")];
0 commit comments