Vite React to GitHub Pages: Fix Empty Page & Missing Assets

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 24

  • @VladyslavDihtiarenko
    @VladyslavDihtiarenko  4 месяца назад +6

    Welcome! I just started my channel and this is the first time I make RUclips tutorials. If you find this video helpful, consider hitting the like button and subscribe to my channel. This will help me to stay motivated in the long run. Btw, I'd be more than happy if you share your suggestions and tips on how I can make my tutorials better. Thanks a lot!

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

      can you please do it for tanstack router

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

      How to solve the problem, when you want to move the page using a url that is written manually it cannot while if you move through the navigation menu it can

  • @dreamer4515
    @dreamer4515 9 дней назад +2

    Finally 😭😭, took me 5 hours until I found your video. Earned a sub man!

  • @masaorel6530
    @masaorel6530 20 дней назад +1

    Thank you very much, setting the base solved the issue! :)

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

    You saved my life! I'v been working on this problem for hours! You won a subscriber forever!

  • @CarLos-wd9xc
    @CarLos-wd9xc 3 месяца назад

    thank you so much, been stuck on this problem for an hour!!

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

    thank you. the video helped me, been stuck around 3 hours

  • @abrahamouattara8757
    @abrahamouattara8757 4 месяца назад +2

    the problem is that when I refresh or when I type the url of the path of my pages by hand I get 404 error

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

    Thank you. Your video was of great help

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

    How to fix for vite react typescript project?

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

    very helpful

  • @marinamars9786
    @marinamars9786 4 месяца назад +1

    дякую 😍

  • @Halid-pl1to
    @Halid-pl1to Месяц назад

    you amazing bro

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

    is it possible to deploy to GitHub pages with a local database like JSON-server and have it work?

    • @VladyslavDihtiarenko
      @VladyslavDihtiarenko  4 месяца назад +1

      No, you cannot directly deploy a JSON-server backend with your Vite React app to GitHub Pages. GitHub Pages is for static site generation, so if you're data is mostly static, you can prerender static files with your data. Otherwise, you need a separate backend.

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

      @@VladyslavDihtiarenko ok got it, thanks for the reply