Deploy your react+vite app in 3 EASY STEPS

Поделиться
HTML-код
  • Опубликовано: 4 окт 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!

  • @horrid13
    @horrid13 Год назад +3

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

  • @UECSoumyaRay
    @UECSoumyaRay 7 месяцев назад +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!

  • @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

  • @setgramofficial6703
    @setgramofficial6703 Год назад

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

  • @Fantasy3DMorals
    @Fantasy3DMorals 9 месяцев назад +1

    Thank you 😊

  • @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

  • @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

  • @Yuki-vt
    @Yuki-vt 3 месяца назад

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

  • @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 !!

  • @stormshadow76
    @stormshadow76 Год назад

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

  • @TusharHambir
    @TusharHambir 14 дней назад

    Thank You So Much , Its Helps Alot

  • @felixa9667
    @felixa9667 Год назад

    simple, clear, short - thanks Sir!

  • @baderzaouich4201
    @baderzaouich4201 11 месяцев назад

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

  • @AbdiwadudMohamed-y4q
    @AbdiwadudMohamed-y4q 10 месяцев назад

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

  • @WorkExcel-tn8ub
    @WorkExcel-tn8ub 5 месяцев назад

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

  • @theoappiah6373
    @theoappiah6373 8 месяцев назад

    I'm glad I found you.

  • @harshadkumarpatel3341
    @harshadkumarpatel3341 Год назад +1

    Awesome! This tutorial helps me a lot.

  • @pranali_valve
    @pranali_valve День назад

    Thank u so much ☺

  • @Free_Bird78
    @Free_Bird78 Год назад

    what a legend - literally saved me you have no idea

  • @NaveedUlHaq75
    @NaveedUlHaq75 9 дней назад

    Welldone ! good Job ❤

  • @lorenzoaleixo5571
    @lorenzoaleixo5571 4 месяца назад

    Hi from brazil, thanks dude

  • @lauraluo7242
    @lauraluo7242 6 месяцев назад

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

  • @luckyboy3802
    @luckyboy3802 Год назад

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

  • @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 22 дня назад +1

      same

    • @marcarce592
      @marcarce592 15 дней назад

      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.

  • @muruga3603
    @muruga3603 Месяц назад

    Time Saving Bro😍

  • @ashwinacharya293
    @ashwinacharya293 Год назад +2

    To the point!! Liked it 🤩

  • @Zarakkahnn
    @Zarakkahnn 5 месяцев назад

    Thank you so much i got it now

  • @GuilhermePiedade-c4w
    @GuilhermePiedade-c4w Год назад +1

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

  • @miguel83473g
    @miguel83473g Год назад

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

  • @yhbarve
    @yhbarve Год назад

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

  • @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

  • @digitalfarms999
    @digitalfarms999 10 месяцев назад

    Very helpful. Thank you so much.

  • @roshanbhagat3994
    @roshanbhagat3994 8 месяцев назад

    Thank you so much bro

  • @fraternidadeaustriaca2625
    @fraternidadeaustriaca2625 Год назад

    thank you bro, simple and functional!

  • @isaacaninta6551
    @isaacaninta6551 Год назад

    So simple and concise❤❤😊😊

  • @vijayverma-dd7oe
    @vijayverma-dd7oe 7 месяцев назад

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

  • @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.

  • @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.

  • @royfrias4379
    @royfrias4379 Месяц назад

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

  • @pyyrr
    @pyyrr Год назад

    thanks. straight to the point 💯

  • @andreainvernizzi8510
    @andreainvernizzi8510 11 месяцев назад

    Thank you for this video, it's helpful!

  • @LENNOX40w
    @LENNOX40w 10 месяцев назад

    Thank you!

  • @MrBrady95
    @MrBrady95 7 месяцев назад

    Nice! Liked and subscribed.

  • @Mkzay
    @Mkzay Год назад

    Damn! You’re a life saver!!

  • @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

  • @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?

  • @Zhu8690
    @Zhu8690 8 месяцев назад

    Actually a good video!

  • @yashbhardwaj8419
    @yashbhardwaj8419 7 месяцев назад

    Thanku so much

  • @andrew3581
    @andrew3581 Год назад +1

    mine just shows a blank page please help

  • @wajidtechs.
    @wajidtechs. 3 месяца назад

    you are awsome dude

  • @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.

  • @marsdwarf
    @marsdwarf Год назад

    Nice tutorial, thanks for posting it.

  • @luiskingsleytolentino8291
    @luiskingsleytolentino8291 10 месяцев назад

    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

  • @kim92se64
    @kim92se64 Год назад

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

  • @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.

  • @Arjun-oq1jz
    @Arjun-oq1jz Год назад

    Thank you mate!

  • @naveenalla3000
    @naveenalla3000 Год назад

    Super bro 🎉🎉🎉🎉🎉

  • @happylaughy2777
    @happylaughy2777 Год назад

    Thanks man , it was of huge help

  • @Pedro-oq5cl
    @Pedro-oq5cl 10 месяцев назад

    Obrigado, amigo! Você explica muito bem!

  • @AnaSantos-gj2fh
    @AnaSantos-gj2fh Год назад

    Thank you so much. 😊

  • @darlansantoscarvalho6619
    @darlansantoscarvalho6619 Год назад

    Oh man, that saved me, god bless u

  • @gabrielmarcosmendes3412
    @gabrielmarcosmendes3412 2 месяца назад

    Is this works for hostinger deploy too?

  • @Khalid-sr4zo
    @Khalid-sr4zo Месяц назад

    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

  • @rehanahmad5401
    @rehanahmad5401 Год назад

    awesome thanks sir

  • @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?

  • @GunGod517
    @GunGod517 Год назад

    thanks, bro!!!!!!!!

  • @tamerkhattab4013
    @tamerkhattab4013 Год назад

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

  • @lorddinoff3714
    @lorddinoff3714 2 месяца назад +1

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

  • @mateussoares9688
    @mateussoares9688 Год назад

    great tutorial, thanks

  • @carlosmario1060
    @carlosmario1060 Год назад

    Muchas gracias...

  • @ajanta28
    @ajanta28 8 месяцев назад

    netlify its not take a vite proxy what we do?

  • @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

  • @hiteshsingh2548
    @hiteshsingh2548 Год назад

    Thanks bro👍👍

  • @christianrodier3381
    @christianrodier3381 Год назад

    Super helpful

  • @anazodovanessa5323
    @anazodovanessa5323 Год назад

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

  • @DevPortifolio2004
    @DevPortifolio2004 Год назад

    thank you so much

  • @matthewblasco4720
    @matthewblasco4720 Год назад

    Thank you for this! omg

  • @ondrinurdiansyah9555
    @ondrinurdiansyah9555 11 месяцев назад

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

  • @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?

  • @astasori6896
    @astasori6896 Год назад

    Dude u saved me, thanks a lot

  • @narekzalibekyan8805
    @narekzalibekyan8805 Год назад

    thanks!!!

  • @yusufbachtiar2694
    @yusufbachtiar2694 4 месяца назад

    THANKS

  • @infofunmedia03
    @infofunmedia03 Год назад

    Thanks man

  • @ashharSartaj
    @ashharSartaj Год назад

    Thank you

  • @matyghost1831
    @matyghost1831 5 месяцев назад

    nice

  • @hemantvardani1436
    @hemantvardani1436 Год назад

    Thanks

  • @Dev21262
    @Dev21262 Год назад

    Thanks! Man

  • @purplekame1676
    @purplekame1676 Год назад

    nice, ty bro a lot, so ez

  • @its_me_hb
    @its_me_hb Год назад

    Local Images not showing there

  • @SushilKumar-xh1dv
    @SushilKumar-xh1dv Год назад

    very helpful thankssss

  • @jhin7_s337
    @jhin7_s337 6 месяцев назад

    thanks

  • @27sosite73
    @27sosite73 Год назад

    ty mate

  • @euroclydon7883
    @euroclydon7883 Год назад

    You bi genius

  • @devanteswing701
    @devanteswing701 Год назад

    bruh you saved my ass thank you so much

  • @ibereola
    @ibereola Год назад

    hii

  • @OgyXD
    @OgyXD Год назад

    Really useful. Thanks!

  • @subaruLover475
    @subaruLover475 11 месяцев назад

    Thank you!

  • @johanesalberto6136
    @johanesalberto6136 Год назад

    thank you so much brother