From b43dd5f877b7c83afb474d56634499480ba42e70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20HOARAU?= Date: Wed, 13 Nov 2024 15:07:12 +0100 Subject: [PATCH] docs(start/future-flags): fix typo in npm commands (#10219) --- contributors.yml | 1 + docs/start/future-flags.md | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/contributors.yml b/contributors.yml index b9d29c74ed0..7676d07f83b 100644 --- a/contributors.yml +++ b/contributors.yml @@ -233,6 +233,7 @@ - GOWxx - graham42 - GregBrimble +- greg-hoarau - GSt4r - guatedude2 - guerra08 diff --git a/docs/start/future-flags.md b/docs/start/future-flags.md index e5da3d7d932..588d2f09fb9 100644 --- a/docs/start/future-flags.md +++ b/docs/start/future-flags.md @@ -497,7 +497,7 @@ remix({ This package matches the API of React Router v7's `@react-router/dev/routes`, making the React Router v7 migration as easy as possible. ```shellscript nonumber -npm install --dev @remix-run/route-config +npm install -D @remix-run/route-config ``` This provides the core `RouteConfig` type as well as a set of helpers for configuring routes in code. @@ -519,7 +519,7 @@ This is a good way to check that your new `routes.ts` file is being picked up su 👉 **Install `@remix-run/fs-routes` and use it in `routes.ts`** ```shellscript nonumber -npm install --dev @remix-run/fs-routes +npm install -D @remix-run/fs-routes ``` This package matches the API of React Router v7's `@react-router/fs-routes`, making the React Router v7 migration as easy as possible. @@ -542,7 +542,7 @@ To make migration easier, an adapter package is available that converts Remix's To get started, first install the adapter: ```shellscript nonumber -npm install --dev @remix-run/routes-option-adapter +npm install -D @remix-run/routes-option-adapter ``` This package matches the API of React Router v7's `@react-router/remix-routes-option-adapter`, making the React Router v7 migration as easy as possible.