Deploy your react+vite app in 3 EASY STEPS

Поділитися
Вставка
  • Опубліковано 13 жов 2024
  • In this video we deploy our react and vite apps to Netlify in 3 simple steps using the vite build command

КОМЕНТАРІ • 130

  • @niquebon
    @niquebon Рік тому +13

    Straight to the point! It's quite hard to find a tutorial that does not go straight to the point. Thanks so much!

  • @UECSoumyaRay
    @UECSoumyaRay 8 місяців тому +1

    Thanks man!!! I am a beginner. Didn't know that you have to do the npm run build command to make the dist folder. I was banging my head for so long!!! Much appreciated.

  • @iamtharunraj
    @iamtharunraj Рік тому +3

    This video is so underrated! I could find exactly what I wanted. Thanks man! You're awesome!

  • @tommylin432
    @tommylin432 Рік тому +1

    Tommy from scrimba discord here, loved the tutorial, very easy and fast, you earned my sub Mist keep up the great work much love from new york

  • @horrid13
    @horrid13 Рік тому +3

    every other tutorial made a fuss and complicated it! straight to the point thanks

  • @adekolaadelana2384
    @adekolaadelana2384 Рік тому +3

    Mehn! you are the best. It is only a matter of time bro. You have got the content itself. All other tutorials out there are just not nailing it. But you did! You know I love you and your tutorials because it always comes out best for me particularly.
    You just got a new follower. and a mentee😁

    • @akshanshkaushal9422
      @akshanshkaushal9422 Рік тому

      it worked? for me its just showing a blank site at the end.

    • @yhbarve
      @yhbarve Рік тому

      @@akshanshkaushal9422 You must have uploaded the entire project. Just upload the 'dist' folder. Lemme know if that helped

  • @laurenmj90
    @laurenmj90 11 місяців тому

    Awesome! Just what I needed! When we update the site, do updates automatically go through? Or do we need to run npm build again?

    • @programmingwithmist3897
      @programmingwithmist3897  11 місяців тому +1

      With this method, you will need to run the build command and drag'n'drop the new dist folder into Netlify each time you make changes to the code.

  • @jonasoo7113
    @jonasoo7113 Рік тому

    omgggggg i did not run npm run build command.... that's why i can't get it done... thank you you have saved my day!!!! and very nice voice btw !!

  • @Yuki-vt
    @Yuki-vt 4 місяці тому

    thank you very much, i done with my project to graduated

  • @setgramofficial6703
    @setgramofficial6703 Рік тому

    You’re the best….Something I have been struggling since can be this easy…thanks

  • @baderzaouich4201
    @baderzaouich4201 11 місяців тому

    man I can't pass without saying thanks, you are great tnx

  • @AbdiwadudMohamed-y4q
    @AbdiwadudMohamed-y4q 11 місяців тому

    thank you very much, was struggling with this for a while

  • @stormshadow76
    @stormshadow76 Рік тому

    Thanks Bro .. This is the easiestttttttttttt wayyyyyy .... Straight to the point !!!

  • @tonyg5132
    @tonyg5132 11 місяців тому +5

    This is only for front end.... it would be nice if you showed a way to do this having a root project folder which contains both the client and server inside as sub-directories. Importing my entire project makes the deployment fail.

    • @wazzighait5539
      @wazzighait5539 8 місяців тому

      Hello bro! Do you know how I can achieve deploying ssr vite projects where the dist folder has both server and client side

  • @WorkExcel-tn8ub
    @WorkExcel-tn8ub 6 місяців тому

    oh my God you saved my career. thank you so much.

  • @Free_Bird78
    @Free_Bird78 Рік тому

    what a legend - literally saved me you have no idea

  • @Fantasy3DMorals
    @Fantasy3DMorals 9 місяців тому +1

    Thank you 😊

  • @TusharHambir
    @TusharHambir 23 дні тому

    Thank You So Much , Its Helps Alot

  • @wazzighait5539
    @wazzighait5539 8 місяців тому +1

    This is nice. But how can I do the same for a ssr vite project where the dist folder has both client and server side? Please I need help with this

  • @theoappiah6373
    @theoappiah6373 8 місяців тому

    I'm glad I found you.

  • @luckyboy3802
    @luckyboy3802 Рік тому

    Excellent !!! 🤩🤩🤩 it works exactly and so easy... like a dream, thank you very much.

  • @harshadkumarpatel3341
    @harshadkumarpatel3341 Рік тому +1

    Awesome! This tutorial helps me a lot.

  • @miguel83473g
    @miguel83473g Рік тому

    It works!! Simple and effective, great job 👌👌

  • @lorenzoaleixo5571
    @lorenzoaleixo5571 5 місяців тому

    Hi from brazil, thanks dude

  • @anazodovanessa5323
    @anazodovanessa5323 Рік тому

    I have a question tho. I hope I'm attended to. If I want to make some changes after deploying it, what do I have to do? Thank you.

    • @TheMidnightillusion
      @TheMidnightillusion Рік тому

      When deploying manually, anytime you make changes to the code you have to re-run the "npm run build" command to generate an up-to-date dist fold and drop it into netlify.

  • @dnjosh10
    @dnjosh10 5 місяців тому +1

    After following all the instructions given on this page, I got a blank screen upon visiting the live page? Yet building and deployment were done successfully as confirmed in the "Action" tab of the github repository

    • @uhhmike115
      @uhhmike115 Місяць тому +1

      same

    • @marcarce592
      @marcarce592 24 дні тому

      I’m getting a blank screen at the end after a successful deployment just dragging and dropping the “dist” folder in Netlify. Gonna try some different things Saturday when I get home to try and get this to work.

  • @mboe94
    @mboe94 10 місяців тому

    Awesome vid, thanks bro.
    However when I try to do it, Netlify can't find my pictures. They are located in the same way as your "images" folder.

  • @felixa9667
    @felixa9667 Рік тому

    simple, clear, short - thanks Sir!

  • @lauraluo7242
    @lauraluo7242 6 місяців тому

    this is so easy!!!!!!! perfect bro

  • @vijayverma-dd7oe
    @vijayverma-dd7oe 8 місяців тому

    it helped me a lot..exact content what i wanted to know

  • @ashwinacharya293
    @ashwinacharya293 Рік тому +2

    To the point!! Liked it 🤩

  • @digitalfarms999
    @digitalfarms999 11 місяців тому

    Very helpful. Thank you so much.

  • @andreainvernizzi8510
    @andreainvernizzi8510 11 місяців тому

    Thank you for this video, it's helpful!

  • @luiskingsleytolentino8291
    @luiskingsleytolentino8291 11 місяців тому

    in my index.html, the assets can't be located because it needs dot before the file path, something like this "./assets/filename", note that I need to manually add that dot in the first

  • @GuilhermePiedade-c4w
    @GuilhermePiedade-c4w Рік тому +1

    Sou brasileiro e esse vídeo me ajudou muito, obrigado!

  • @royfrias4379
    @royfrias4379 Місяць тому

    how about if the project has a back end how would can you do that ?

  • @gabrielmarcosmendes3412
    @gabrielmarcosmendes3412 3 місяці тому

    Is this works for hostinger deploy too?

  • @NaveedUlHaq75
    @NaveedUlHaq75 18 днів тому

    Welldone ! good Job ❤

  • @happylaughy2777
    @happylaughy2777 Рік тому

    Thanks man , it was of huge help

  • @Mkzay
    @Mkzay Рік тому

    Damn! You’re a life saver!!

  • @yhbarve
    @yhbarve Рік тому

    Thanks mate! To-the-point tutorial that was very helpful.

  • @isaacaninta6551
    @isaacaninta6551 Рік тому

    So simple and concise❤❤😊😊

  • @AdityaPatel-ji5kz
    @AdityaPatel-ji5kz Рік тому

    After pointlessly trying to deploy on github pages and wasting so much time , deployed on netlify in minutes, Thanks

    • @akshanshkaushal9422
      @akshanshkaushal9422 Рік тому

      hi
      @AdityaPatel-ji5kz you deployed react+vite app? I have tried but when I open the final site it shows nothing. Could you help me to fix this?

  • @MrBrady95
    @MrBrady95 7 місяців тому

    Nice! Liked and subscribed.

  • @kim92se64
    @kim92se64 Рік тому

    Yep, what a great Tutorial !!! awesome Regard from Pakistan

  • @Khalid-sr4zo
    @Khalid-sr4zo 2 місяці тому

    i tried this, when i use npm run preview its working but when i deploy it or try to open it via live server or just double click on the html file i get a blank page. what could be the problem i am running in circles rn :s

  • @pyyrr
    @pyyrr Рік тому

    thanks. straight to the point 💯

  • @TheNationIsraelLives
    @TheNationIsraelLives Рік тому

    Best developer video I have seen so far, it was so helpful and concise. Thank you so much for posting this!

    • @ismailista3237
      @ismailista3237 9 місяців тому +1

      don't try to steal it

    • @remak6342
      @remak6342 9 місяців тому

      hope you don't take his house

  • @fraternidadeaustriaca2625
    @fraternidadeaustriaca2625 Рік тому

    thank you bro, simple and functional!

  • @muruga3603
    @muruga3603 Місяць тому

    Time Saving Bro😍

  • @Zarakkahnn
    @Zarakkahnn 5 місяців тому

    Thank you so much i got it now

  • @fengz-x7z
    @fengz-x7z 5 місяців тому

    It seems like the vite package is not installed in your project or globally on your system. You can install it locally in your project or globally.
    To install it locally in your project, navigate to your project directory in the terminal and run:
    npm install vite
    To install it globally, you can use:
    npm install -g create-vite
    After installing, try running npm run build again.

  • @Zhu8690
    @Zhu8690 8 місяців тому

    Actually a good video!

  • @darlansantoscarvalho6619
    @darlansantoscarvalho6619 Рік тому

    Oh man, that saved me, god bless u

  • @anazodovanessa5323
    @anazodovanessa5323 Рік тому

    Thank you for this.. Subscribing now... 😻

  • @devngecu
    @devngecu Рік тому

    THe build index.html is blank.It is only opening with an http-server.How do we go around that?......Also firebase is not running the deployments.Please help

  • @Arjun-oq1jz
    @Arjun-oq1jz Рік тому

    Thank you mate!

  • @tamerkhattab4013
    @tamerkhattab4013 Рік тому

    thank you. im working on my portfolio and would like my project sites to be online.

  • @marsdwarf
    @marsdwarf Рік тому

    Nice tutorial, thanks for posting it.

  • @pranali_valve
    @pranali_valve 10 днів тому

    Thank u so much ☺

  • @Pedro-oq5cl
    @Pedro-oq5cl 11 місяців тому

    Obrigado, amigo! Você explica muito bem!

  • @yathishshettigar9344
    @yathishshettigar9344 3 місяці тому

    Index.html file what I got after npm run build (.dist) folder, If I click on it, its just showing blank white screen whats the reason?

  • @AvikNayak_
    @AvikNayak_ Рік тому +1

    to load resource: the server responded with a status of 404 (). i am getting this error on the console and the page is blank.what to do?

    • @snehashishghosh7258
      @snehashishghosh7258 Рік тому

      have you figured it out?

    • @AvikNayak_
      @AvikNayak_ Рік тому

      @@snehashishghosh7258 no haven't yet .if you find any solution kindly tell me.

    • @snehashishghosh7258
      @snehashishghosh7258 Рік тому

      @@AvikNayak_ sure

    • @snehashishghosh7258
      @snehashishghosh7258 Рік тому

      @@AvikNayak_ I installed the latest version of Node, deleted the node_modules and re install node_modules using 'npm i'.... This worked for me

    • @akshanshkaushal9422
      @akshanshkaushal9422 Рік тому

      @@snehashishghosh7258 which version did you used?

  • @astasori6896
    @astasori6896 Рік тому

    Dude u saved me, thanks a lot

  • @roshanbhagat3994
    @roshanbhagat3994 8 місяців тому

    Thank you so much bro

  • @wajidtechs.
    @wajidtechs. 3 місяці тому

    you are awsome dude

  • @ondrinurdiansyah9555
    @ondrinurdiansyah9555 Рік тому

    hi, good video. but i want to upload my react js vite to ubuntu server, can you help me ?

  • @rehanahmad5401
    @rehanahmad5401 Рік тому

    awesome thanks sir

  • @matthewblasco4720
    @matthewblasco4720 Рік тому

    Thank you for this! omg

  • @AnaSantos-gj2fh
    @AnaSantos-gj2fh Рік тому

    Thank you so much. 😊

  • @LENNOX40w
    @LENNOX40w 11 місяців тому

    Thank you!

  • @ajanta28
    @ajanta28 8 місяців тому

    netlify its not take a vite proxy what we do?

  • @lorddinoff3714
    @lorddinoff3714 2 місяці тому +1

    i have done the same thing but it gives me a blank website

  • @naveenalla3000
    @naveenalla3000 Рік тому

    Super bro 🎉🎉🎉🎉🎉

  • @mateussoares9688
    @mateussoares9688 Рік тому

    great tutorial, thanks

  • @GunGod517
    @GunGod517 Рік тому

    thanks, bro!!!!!!!!

  • @Dira_1111
    @Dira_1111 Рік тому

    Thank you so much

  • @yashbhardwaj8419
    @yashbhardwaj8419 7 місяців тому

    Thanku so much

  • @hiteshsingh2548
    @hiteshsingh2548 Рік тому

    Thanks bro👍👍

  • @ashharSartaj
    @ashharSartaj Рік тому

    Thank you

  • @christianrodier3381
    @christianrodier3381 Рік тому

    Super helpful

  • @Dev21262
    @Dev21262 Рік тому

    Thanks! Man

  • @andrew3581
    @andrew3581 Рік тому +1

    mine just shows a blank page please help

  • @infofunmedia03
    @infofunmedia03 Рік тому

    Thanks man

  • @SushilKumar-xh1dv
    @SushilKumar-xh1dv Рік тому

    very helpful thankssss

  • @carlosmario1060
    @carlosmario1060 Рік тому

    Muchas gracias...

  • @narekzalibekyan8805
    @narekzalibekyan8805 Рік тому

    thanks!!!

  • @purplekame1676
    @purplekame1676 Рік тому

    nice, ty bro a lot, so ez

  • @devanteswing701
    @devanteswing701 Рік тому

    bruh you saved my ass thank you so much

  • @hemantvardani1436
    @hemantvardani1436 Рік тому

    Thanks

  • @yusufbachtiar2694
    @yusufbachtiar2694 4 місяці тому

    THANKS

  • @matyghost1831
    @matyghost1831 5 місяців тому

    nice

  • @its_me_hb
    @its_me_hb Рік тому

    Local Images not showing there

  • @jhin7_s337
    @jhin7_s337 6 місяців тому

    thanks

  • @27sosite73
    @27sosite73 Рік тому

    ty mate

  • @euroclydon7883
    @euroclydon7883 Рік тому

    You bi genius

  • @ibereola
    @ibereola Рік тому

    hii

  • @OgyXD
    @OgyXD Рік тому

    Really useful. Thanks!

  • @subaruLover475
    @subaruLover475 11 місяців тому

    Thank you!

  • @johanesalberto6136
    @johanesalberto6136 Рік тому

    thank you so much brother