Update vite documentation to latest version #10715
Draft
+23
−15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Updated Vite to version 7.0.0 across all relevant examples and their associated
@vitejs/plugin-react
dependencies (to 5.0.0) for compatibility. Also, added important Node.js and Vitest compatibility notes to the Vite and Vitest documentation guides, respectively.Testing Instructions
with-vite
,with-vite-react
,kitchen-sink
,with-svelte
,with-solid
,with-vue-nuxt
,design-system
) still build and run correctly.docs/site/content/docs/guides/frameworks/vite.mdx
for the Node.js requirement callout.docs/site/content/docs/guides/tools/vitest.mdx
for the Vitest compatibility note.Open in Web • Open in Cursor • Open Docs