Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Doesn't look like there's any way to run a React game with React Router, built with CRA on Itch.io which is a shame. Changing the asset URLs then breaks page routing, and leaving the asset URLs as is returns 403 errors.

Is there  away just pull in an iframe of the game instead? It exists on their own pages, and could just be pulled in via an iframe (rather than uploaded and then pulled in via iframe)

(1 edit) (+1)

Hey there, just another React Idle dev chiming in with a solution for you!

Using github pages to host the project, and then uploading just a simple html file with an iframe to the github page works for me, at least in the draft stage so for! Hopefully it works when published and works for you too. Good luck. It was your comment that gave me the idea, and it was easy enough to implement. So thanks too, haha.