-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Closed
Copy link
Labels
content:editRequest for content editsRequest for content editsdocumentationDocumentation editsDocumentation editsmore-information-neededproduct:pages
Description
Existing documentation URL(s)
https://developers.cloudflare.com/pages/framework-guides/deploy-a-react-site/
https://developers.cloudflare.com/pages/framework-guides/vite/
What changes are you suggesting?
The current documentation for deploying React applications on Cloudflare Pages doesn't specifically address Vite-based React projects. We suggest updating the documentation to include a dedicated section or guide for deploying Vite React applications, with emphasis on Vite version 4.
Why should the docs be changed? What use cases does it support?
- Vite is becoming increasingly popular for React development due to its speed and efficiency.
- Vite-based React projects have some specific considerations for deployment that differ from traditional Create React App projects.
- Users trying to deploy Vite React applications on Cloudflare Pages may encounter issues or confusion without specific guidance.
What is the expected outcome?
Updated documentation that includes:
- A step-by-step guide for deploying Vite React applications on Cloudflare Pages.
- Specific configuration settings required for Vite projects (e.g., build command, build output directory).
- Troubleshooting tips for common issues encountered when deploying Vite React apps.
- Any performance optimizations or best practices specific to Vite React apps on Cloudflare Pages.
Additional information
- The documentation should specifically mention compatibility with Vite version 4.
- It would be helpful to include a sample wrangler.toml file tailored for Vite React projects.
- Consider adding information about environment variable handling in Vite React projects on Cloudflare Pages.
dexterxbt
Metadata
Metadata
Labels
content:editRequest for content editsRequest for content editsdocumentationDocumentation editsDocumentation editsmore-information-neededproduct:pages