How to deploy a React app
Set homepage to "." in your package.json, build, then upload the zipped build output.
- In
package.json, sethomepageto".". This makes the build load its files relative toindex.html. - Run
npm run build. This creates abuildfolder. - Zip the
buildfolder. - Drag the zip onto tiiny.host.
- Choose a link name and click Publish.
package.json in the zip. If it's there, we try to run your source code as an app instead, which needs a paid plan.Site loads but the styling is missing
It's almost always homepage. Check it's ".", not a full URL or a path, then rebuild and upload again.
Video Guide
Updated on: 10/11/2026
Thank you!
