-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fs-routes and Remix adapter package (#11971)
- Loading branch information
1 parent
aa37dd1
commit 6ccf92a
Showing
38 changed files
with
453 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { type RouteConfig } from "@react-router/dev/routes"; | ||
import { remixRoutes } from "@react-router/remix-v2-routes"; | ||
import { flatRoutes } from "@react-router/fs-routes"; | ||
|
||
export const routes: RouteConfig = remixRoutes(); | ||
export const routes: RouteConfig = flatRoutes(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { type RouteConfig } from "@react-router/dev/routes"; | ||
import { remixRoutes } from "@react-router/remix-v2-routes"; | ||
import { flatRoutes } from "@react-router/fs-routes"; | ||
|
||
export const routes: RouteConfig = remixRoutes(); | ||
export const routes: RouteConfig = flatRoutes(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { type RouteConfig } from "@react-router/dev/routes"; | ||
import { remixRoutes } from "@react-router/remix-v2-routes"; | ||
import { flatRoutes } from "@react-router/fs-routes"; | ||
|
||
export const routes: RouteConfig = remixRoutes(); | ||
export const routes: RouteConfig = flatRoutes(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# @react-router/fs-routes | ||
|
||
File system routing conventions for [React Router.](https://github.com/remix-run/react-router) | ||
|
||
```sh | ||
npm i @react-router/fs-routes | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.