Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to deploy this project ? #8

Open
anmolkohli13 opened this issue Sep 9, 2021 · 11 comments
Open

how to deploy this project ? #8

anmolkohli13 opened this issue Sep 9, 2021 · 11 comments

Comments

@anmolkohli13
Copy link

I am not able to deploy this project using GitHub pages as when I deploy it then it only shows the HTML content of the project. Can someone help me with this I am a newbie in deployment. If you could provide a video tutorial of similar kind of deployment that would be great

@Euphoria99
Copy link

I am on same boat as @anmolkohli13 , someone please help, Thank you.

@blake-tisbury
Copy link

having the same issue, tried copying the code to a code pen and it seems like the three js part is outdated

@Zenif-NIght
Copy link

Same, I tried GitHub pages as well with no luck.

@Sacsam005
Copy link

I think deploying in web developer platforms like Netlify or Hostinger would help...

@Tfc538
Copy link

Tfc538 commented Jan 21, 2022

Hey,
you just need to install all packages using
npm install
after that, just go ahead and start the server using
npm run dev

@Darkskittlz
Copy link

Having the same issue. Netlify comes the closest to a complete deployment. There just seems to be a problem with images being included in the dist folder when you run npm run build.

@KGeetings
Copy link

For what it's worth, I've gotten just as far as @Darkskittlz but there definitely seems to be an issue with the images not being included correctly. Just not sure the appropriate way to fix it.

@Darkskittlz
Copy link

@justforuse
Copy link

Thanks @Darkskittlz , for those who have issue about deploy, here is the demo repo: https://github.com/justforuse/threejs-scroll-animation-demo, and netlify link is https://sparkling-tanuki-d3b0d7.netlify.app/

@akuliakuli
Copy link

you can deploy this project using surge,if you are using vite js with three.js then first u need to run npm build,and after installing surge(its very easy to deploy webpage using it,tutorial is 2 minute video) you deploy the dist folder,so everything works fine
https://surge.sh/

@Swarnlataaa
Copy link

Netlify works fine for such full stack hostings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

12 participants