Skip to content

Commit feb762f

Browse files
authored
chore(rsc): fix links (#530)
1 parent ce84449 commit feb762f

File tree

6 files changed

+13
-9
lines changed

6 files changed

+13
-9
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# rsc basic
22

3-
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/hi-ogawa/vite-plugins/tree/main/packages/rsc/examples/basic)
3+
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/vitejs/vite-plugin-react/tree/main/packages/plugin-rsc/examples/basic)
44

55
https://vite-rsc-basic.hiro18181.workers.dev
66

77
```sh
8-
npx giget gh:hi-ogawa/vite-plugins/packages/rsc/examples/basic my-app
8+
npx giget gh:vitejs/vite-plugin-react/packages/plugin-rsc/examples/basic my-app
99
```

packages/plugin-rsc/examples/react-router/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ Vite RSC example based on demo made by React router team with Parcel:
1010

1111
See also [`rsc-movies`](https://github.com/hi-ogawa/rsc-movies/).
1212

13-
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/hi-ogawa/vite-plugins/tree/main/packages/rsc/examples/react-router?file=src%2Froutes%2Froot.tsx)
13+
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/vitejs/vite-plugin-react/tree/main/packages/plugin-rsc/examples/react-router?file=src%2Froutes%2Froot.tsx)
1414

1515
Or try it locally by:
1616

1717
```sh
18-
npx giget gh:hi-ogawa/vite-plugins/packages/rsc/examples/react-router my-app
18+
npx giget gh:vitejs/vite-plugin-react/packages/plugin-rsc/examples/react-router my-app
1919
cd my-app
2020
npm i
2121
npm run dev

packages/plugin-rsc/examples/starter-cf-single/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
https://vite-rsc-starter.hiro18181.workers.dev
44

5-
[examples/starter](https://github.com/hi-ogawa/vite-plugins/tree/main/packages/rsc/examples/starter) integrated with [`@cloudflare/vite-plugin`](https://github.com/cloudflare/workers-sdk/tree/main/packages/vite-plugin-cloudflare).
5+
[examples/starter](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-rsc/examples/starter) integrated with [`@cloudflare/vite-plugin`](https://github.com/cloudflare/workers-sdk/tree/main/packages/vite-plugin-cloudflare).
66

7-
The difference from [examples/react-router](https://github.com/hi-ogawa/vite-plugins/tree/main/packages/rsc/examples/react-router) is that this doesn't require two workers.
7+
The difference from [examples/react-router](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-rsc/examples/react-router) is that this doesn't require two workers.
88

99
- RSC environment always runs on Cloudflare Workers.
1010
- During development, SSR environment runs as Vite's deafult Node environment.

packages/plugin-rsc/examples/starter/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Vite + RSC
22

3-
This example shows how to setup a React application with [Server Component](https://react.dev/reference/rsc/server-components) features on Vite using [`@vitejs/plugin-rsc`](https://github.com/hi-ogawa/vite-plugins/tree/main/packages/rsc).
3+
This example shows how to setup a React application with [Server Component](https://react.dev/reference/rsc/server-components) features on Vite using [`@vitejs/plugin-rsc`](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-rsc).
44

5-
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/hi-ogawa/vite-plugins/tree/main/packages/rsc/examples/starter)
5+
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/vitejs/vite-plugin-react/tree/main/packages/plugin-rsc/examples/starter)
66

77
```sh
88
# run dev server
@@ -15,7 +15,7 @@ npm run preview
1515

1616
## API usages
1717

18-
See [`@vitejs/plugin-rsc`](https://github.com/hi-ogawa/vite-plugins/tree/main/packages/rsc) for the documentation.
18+
See [`@vitejs/plugin-rsc`](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-rsc) for the documentation.
1919

2020
- [`vite.config.ts`](./vite.config.ts)
2121
- `@higoawa/vite-rsc/plugin`

packages/plugin-rsc/examples/starter/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"@types/react": "latest",
1919
"@types/react-dom": "latest",
2020
"@vitejs/plugin-react": "latest",
21+
"vite": "^7.0.2",
2122
"vite-plugin-inspect": "latest"
2223
}
2324
}

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)