-
Hi, i have problem uploading my r3f website on github. I've done and upload it in repositories but it seems there is only public folder in repository, so I published it with gh-pages but canvas and everything init aren't loading. can anyone help me? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
you need to build your project (npm run build) and copy the dist folder up. there is no public folder inside dist, everything is now flattened. you can copy it up anywhere you want, there's no difference between github and other hosting services until you're using routes and such things. |
Beta Was this translation helpful? Give feedback.
you need to build your project (npm run build) and copy the dist folder up. there is no public folder inside dist, everything is now flattened. you can copy it up anywhere you want, there's no difference between github and other hosting services until you're using routes and such things.