Skip to content

Commit

Permalink
docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
AlemTuzlak committed Mar 14, 2024
1 parent 910ab3f commit 1bf9db8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/posts/4.0.0/guides/migration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ If you were using the Remix compiler and not the Vite plugin, you will first nee
- Migrate your app to use the Vite plugin.
- Migrate your app from CJS to ESM (if applicable).

First thing you need to do after the above is change your package.json scripts to use the `remix vite:dev` command.
```diff
- "dev": "remix dev -c \"rdt-serve ./build/index.js\" --manual",
+ "dev": "remix vite:dev",
```

After you've done these things you need to remove everything from your `root.tsx` file that is
related to `remix-development-tools`.

Expand Down
6 changes: 6 additions & 0 deletions docs/posts/main/guides/migration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ If you were using the Remix compiler and not the Vite plugin, you will first nee
- Migrate your app to use the Vite plugin.
- Migrate your app from CJS to ESM (if applicable).

First thing you need to do after the above is change your package.json scripts to use the `remix vite:dev` command.
```diff
- "dev": "remix dev -c \"rdt-serve ./build/index.js\" --manual",
+ "dev": "remix vite:dev",
```

After you've done these things you need to remove everything from your `root.tsx` file that is
related to `remix-development-tools`.

Expand Down

0 comments on commit 1bf9db8

Please sign in to comment.