You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/ssr.md
+10-4
Original file line number
Diff line number
Diff line change
@@ -16,10 +16,16 @@ If you have questions, the community is usually helpful at [Vite Discord's #ssr
16
16
17
17
## Example Projects
18
18
19
-
Vite provides built-in support for server-side rendering (SSR). The Vite playground contains example SSR setups for Vue 3 and React, which can be used as references for this guide:
19
+
Vite provides built-in support for server-side rendering (SSR). [`create-vite-extra`](https://github.com/bluwy/create-vite-extra)contains example SSR setups you can use as references for this guide:
You can also scaffold these projects locally by [running `create-vite`](./index.md#scaffolding-your-first-vite-project) and choose `Others > create-vite-extra` under the framework option.
23
29
24
30
## Source Structure
25
31
@@ -177,7 +183,7 @@ Then, in `server.js` we need to add some production specific logic by checking `
177
183
178
184
- Move the creation and all usage of the `vite` dev server behind dev-only conditional branches, then add static file serving middlewares to serve files from `dist/client`.
179
185
180
-
Refer to the [Vue](https://github.com/vitejs/vite-plugin-vue/tree/main/playground/ssr-vue) and [React](https://github.com/vitejs/vite-plugin-react/tree/main/playground/ssr-react) demos for a working setup.
186
+
Refer to the [example projects](#example-projects) for a working setup.
0 commit comments