diff --git a/contributors.yml b/contributors.yml index c11fb3b3030..23c1d7c2e46 100644 --- a/contributors.yml +++ b/contributors.yml @@ -554,6 +554,7 @@ - ramiroazar - RATIU5 - raulrpearson +- raulfdm - real34 - realjokele - redabacha diff --git a/docs/start/future-flags.md b/docs/start/future-flags.md index 11ede4dd915..8d057e387d1 100644 --- a/docs/start/future-flags.md +++ b/docs/start/future-flags.md @@ -572,10 +572,9 @@ This package matches the API of React Router v7's `@react-router/fs-routes`, mak > If you've configured `ignoredRouteFiles` to `["**/*"]`, you should skip this step since you're already opting out of Remix's file system routing. ```ts filename=app/routes.ts -import { flatRoutes } from "@remix-run/fs-routes"; -import type { RouteConfig } from "@remix-run/route-config"; +import { flatRoutes } from '@remix-run/fs-routes'; -export const routes: RouteConfig = flatRoutes(); +export default flatRoutes(); ``` 👉 **If you used the `routes` config option, add `@remix-run/routes-option-adapter` and use it in `routes.ts`**