Thanks a lot bro its very help ful but add script is some changes "scripts": { "deploy": "vite build && gh-pages -d dist", "predeploy": "rm -rf dist" } so kindly this use of it, then you went step by step its done!!
Thank you a lot deploying works very well. But as we defined base as project name in vite.config.js, now every time I start a live server (via: npm run dev) it redirects to localhost 5173/basename/ And this makes anchors etc inactive. How can I fix that?
there's an error on mine when at the terminal typing git init, this appear "git : The term 'git' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1"
I followed all the instructions but the images that came from public folder doesn't load on preview and deployed page, even tho the image is present on the dist folder
For me after I push the files into github and the link loads up and has the gh-pages option on the branch, when I click the link the site doesn't work. Any idea why?
I was getting crazy with some bugs with Pages, but doing the exact steps that you take, i could finally done it, THANKS SO MUCH
God bless you! I watched a lot of content like this, but this is really different and has finally helped me deploy my project.
thanks man spent too much time to resolve the errors and then finally by your video i finally got it. thanks a lot
Previously I watched so many videos but every time I am able deploy into live.Finally yours videos is usefull for me,Thank you so Much
Thanks! Didn't know you could run a deploy command from the terminal but now I do!
Thanks buddy for this tutorial! Helped a lot!
Thanks so much, same here with the struggle and lead to solution with you. Good job.
Thanks alot, this help me put up my first ever react website! 😃
Excellent video. Straight to the point without a bunch of fluff. Worked great, thanks! Keep up the great work..........
Bruh i went crazy, finally i found ur video. tnx bruh🙂
what if my project used react router dom, it deploys but it throws an 404 server error
instead of use
@@RomanRoman-py8qf is it going to work on vite, because i wanted to deploy on vite
Bro I was able to deploy my project thanks to you, thank you very much
Thank you so much! Other videos either didn't work for me or included extra unnecessary steps!
Thank man, was very simple and you went step by step , nicely done!
Thanq bro. i was struggling so bad untill i found your video... It really helped me.!!
bro can we also deploy a tailwind app
thank god dude. I have been struggling many days. You helped me a lot.
Thanks, your video is very helpful! Had to watch it three times to finally deploy it haha mistake on my end though
Yooo bro thank you and God bless you bro for your explanation, finally i could do it on 10th attemption
Thanks you so much bro👌👌
Thank You brother, just what i was looking for
Thank you so much man, your video helped me! Have a nice day!
Really helpful video , thanks
yoo after hourse of debugging and trying to deploy it finally works thankks
very very thanks sir
Thanks sir first time i live my project
Thanks a lot bro its very help ful but
add script is some changes
"scripts": {
"deploy": "vite build && gh-pages -d dist",
"predeploy": "rm -rf dist"
}
so kindly this use of it, then you went step by step its done!!
thx bro u are awesome😊
thanks, this was really helpful
nice it worked ty!
Thank you very much... It finally works
Thank you so much.. Very clear
Thank you there.
Thank you soo much 🥹✨😭
Thank you so much!
THANK YOU SO SO MUCH
so helpful
thx bro
God Job👍
Very helpful video ❤❤
Legend
thank you
Thanks. It worked.
Thanks ! It works
Thank you so so much
Thank You so much.
Thankyou so much brother
Thank you very very much
great explanition
thanks :)
thanks alot , +1 like for u
Thanks a lot❤
Thank You :)
GREAT MAN BUT I STILL HAD A PROBLEM WITHIN IMAGES , THEY ARE NOT SHOWIN IN THE WEBSITE
Thanks a lot❤❤
thank you verrry much
I have a question, if a have my react project inside a file on the repo, what should I change to do this process function?
Gracias Dios te bendiga
hrrps is a mood.
thank you bro
thanks it helped🤩
👍
do i need to gitignore the dist folder or not?
Thank you a lot deploying works very well. But as we defined base as project name in vite.config.js, now every time I start a live server (via: npm run dev) it redirects to localhost 5173/basename/ And this makes anchors etc inactive. How can I fix that?
don't run deployment, try "npm run start" or "vite preview"
Thanks man
does this works for react router too?
thanks bro ;))
This works until I try to set up a custom domain, how would you get this working with one?
tysmm!
tnx
gh-pages is not eecognized as a command after deploying the project...
there's an error on mine when at the terminal typing git init, this appear "git : The term 'git' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if
a path was included, verify that the path is correct and try again.
At line:1 char:1"
you need to download git. you can download it from here:
www.git-scm.com/downloads
make sure to refresh your IDE after installation
i got a error: failed to push some refs to does that mean i need to add a different link how do i fix this?
I followed all the instructions but the images that came from public folder doesn't load on preview and deployed page, even tho the image is present on the dist folder
check your image sources
index-7IEc_BOz.css:1
Failed to load resource: the server responded with a status of 404 ()
I got a blank screen showing only the page titile
how to update it after i deployed it
It doesn’t work for me
my css is not loading after this
you have a black cat
My is not working
For me after I push the files into github and the link loads up and has the gh-pages option on the branch, when I click the link the site doesn't work. Any idea why?
maybe in the app comp u need to set a basename prop in the browserrouter. basename="tour repo name"
@@Titan-ey2wj do you mean the line base:”repo name”:?
Is it you "L"
lol brother
bro sitting like L