Skip to content

Commit b31f74c

Browse files
committed
docs: fix rsc template commands and links
1 parent 961b288 commit b31f74c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/how-to/react-server-components.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ These templates come with React Router RSC APIs already configured with the resp
3838
The [parcel template][parcel-rsc-template] uses the official React `react-server-dom-parcel` plugin.
3939

4040
```shellscript
41-
npx create-react-router-app@latest --template=unstable_rsc-parcel
41+
npx create-react-router@latest --template remix-run/react-router-templates/unstable_rsc-parcel
4242
```
4343

4444
**Vite Template**
4545

4646
The [vite template][vite-rsc-template] uses the experimental Vite `@vitejs/plugin-rsc` plugin.
4747

4848
```shellscript
49-
npx create-react-router-app@latest --template=unstable_rsc-vite
49+
npx create-react-router@latest --template remix-run/react-router-templates/unstable_rsc-vite
5050
```
5151

5252
## Using RSC with React Router
@@ -766,7 +766,7 @@ createFromReadableStream<RSCServerPayload>(
766766
[use-client-docs]: https://react.dev/reference/rsc/use-client
767767
[use-server-docs]: https://react.dev/reference/rsc/use-server
768768
[route-module]: ../start/framework/route-module
769-
[framework-mode]: ../start/framework/route-module
769+
[framework-mode]: ../start/modes#framework
770770
[custom-framework]: ../start/data/custom
771771
[parcel-rsc-doc]: https://parceljs.org/recipes/rsc/
772772
[vite-rsc-doc]: https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-rsc
@@ -778,5 +778,5 @@ createFromReadableStream<RSCServerPayload>(
778778
[rsc-hydrated-router]: ../api/rsc/RSCHydratedRouter
779779
[express]: https://expressjs.com/
780780
[node-fetch-server]: https://github.com/mjackson/remix-the-web/tree/main/packages/node-fetch-server
781-
[parcel-rsc-template]: (https://github.com/remix-run/react-router-templates/tree/main/unstable_rsc-parcel)
782-
[vite-rsc-template]: (https://github.com/remix-run/react-router-templates/tree/main/unstable_rsc-vite)
781+
[parcel-rsc-template]: https://github.com/remix-run/react-router-templates/tree/main/unstable_rsc-parcel
782+
[vite-rsc-template]: https://github.com/remix-run/react-router-templates/tree/main/unstable_rsc-vite

0 commit comments

Comments
 (0)