React project hosting #140057
Replies: 5 comments
-
I think the issue might be with your method. You can use the Reference link: https://github.com/tschaub/gh-pages |
Beta Was this translation helpful? Give feedback.
-
Honestly I don't prefer github for deploying my React Projects..U can use Netlify for deploying your react project...You can tag me if u need to deploy it...And i will suggest watch a youtube video on how to deploy MERN project using netlify or how to deploy react project using netlify. |
Beta Was this translation helpful? Give feedback.
-
I think When you deploy to Github Pages, You need to make sure your homepage in Package.json is set to your Github Repo URL. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
i think your Next.js project with NextUI isn't displaying on GitHub Pages because GitHub Pages doesn’t support server-side rendering (SSR). To fix this, ensure your project is fully exported as static files by adding { output: 'export' } in next.config.js and running npm run export instead of npm run build. Also, check your package.json and set the correct "homepage" path to match your GitHub repository URL. If GitHub Pages still doesn’t work, consider using Hostbet.com.in, Vercel, or Netlify, which provide better support for Next.js deployments. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I have React project built with NextUI in my repository
It works perfectly fine while running in react development but after running npm run build and upload it to Github pages it will just displays nothing but a blank web
Do you have any idea about whats wrong
Beta Was this translation helpful? Give feedback.
All reactions