Skip to content

Commit 1bf9db8

Browse files
committed
docs update
1 parent 910ab3f commit 1bf9db8

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

docs/posts/4.0.0/guides/migration.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ If you were using the Remix compiler and not the Vite plugin, you will first nee
3333
- Migrate your app to use the Vite plugin.
3434
- Migrate your app from CJS to ESM (if applicable).
3535

36+
First thing you need to do after the above is change your package.json scripts to use the `remix vite:dev` command.
37+
```diff
38+
- "dev": "remix dev -c \"rdt-serve ./build/index.js\" --manual",
39+
+ "dev": "remix vite:dev",
40+
```
41+
3642
After you've done these things you need to remove everything from your `root.tsx` file that is
3743
related to `remix-development-tools`.
3844

docs/posts/main/guides/migration.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ If you were using the Remix compiler and not the Vite plugin, you will first nee
3333
- Migrate your app to use the Vite plugin.
3434
- Migrate your app from CJS to ESM (if applicable).
3535

36+
First thing you need to do after the above is change your package.json scripts to use the `remix vite:dev` command.
37+
```diff
38+
- "dev": "remix dev -c \"rdt-serve ./build/index.js\" --manual",
39+
+ "dev": "remix vite:dev",
40+
```
41+
3642
After you've done these things you need to remove everything from your `root.tsx` file that is
3743
related to `remix-development-tools`.
3844

0 commit comments

Comments
 (0)