Next.js 13 - Installing Bootstrap With The App Router

Sdílet
Vložit
  • čas přidán 27. 08. 2024
  • See how to integrate Bootstrap into a Next.js project using the new app router from Next.js 13. This guide covers setup of bootstrap CSS, as well as JavaScript so all aspects of bootstrap will work in your Next.js project.
    🖹 View the written guide: 1manstartup.co...
    ▶️ Setup bootstrap with Next.js page router: • Install Next.js & Boot...
    👉 Complete code on GitHub: github.com/dav...
    #nextjs #bootstrap

Komentáře • 46

  • @1ManStartup
    @1ManStartup  Před 10 měsíci

    If you're using Next.js with the Pages Router see this video: czcams.com/video/RkeDCqs2vdg/video.htmlsi=2ygxBcEzRWkXUrsj

  • @thestoneoflapiz
    @thestoneoflapiz Před 6 měsíci

    A life saver! Thanks, I always prefer watching rather than reading...

    • @1ManStartup
      @1ManStartup  Před 6 měsíci

      Glad it helped! This was the first one where I tried both

  • @alirahimi4746
    @alirahimi4746 Před 7 měsíci

    Duuuuuuuuuuuuuuuuuuuuuude. thanks a million times, million!, i was stuck on this for 2 days.
    i don't know how to thank you ❤❤❤❤❤❤❤❤❤❤❤❤❤❤

    • @1ManStartup
      @1ManStartup  Před 7 měsíci

      Glad it helped! The same thing happened to me when initially setting this up.

  • @nusrar3540
    @nusrar3540 Před měsícem

    Thank you 🙏

  • @yaelcontla9340
    @yaelcontla9340 Před 10 měsíci

    Great!! 🎉 now it works, thanks for the video 👏🏻

  • @mostafarakib4896
    @mostafarakib4896 Před 7 měsíci

    Nice work man!

  • @selvakumarforyou
    @selvakumarforyou Před 10 měsíci +1

    Awesome. Thanks bro 🎉🎉🎉

  • @hayrullahyasar
    @hayrullahyasar Před 3 měsíci

    Thank you for sharing.

  • @noeldolan518
    @noeldolan518 Před 8 měsíci

    Very helpful video, thanks for posting it. :)

  • @JoshuaMusau
    @JoshuaMusau Před 6 měsíci

    This is awesome.

  • @vuanhkhoa9715
    @vuanhkhoa9715 Před 3 měsíci

    Thanks man !

  • @kyawzin-kz
    @kyawzin-kz Před 6 měsíci

    thank you for your video

  • @user-sd6ey5os5n
    @user-sd6ey5os5n Před 8 měsíci

    Thanks it help a lot

  • @keyur88
    @keyur88 Před 8 měsíci

    Thank You Sir 😊😊

  • @satenderaryan3322
    @satenderaryan3322 Před 5 měsíci

    Which is the best approach for pops, accordian etc bootstrap.js or react-bootstrap?

    • @1ManStartup
      @1ManStartup  Před 5 měsíci

      I think either is a fine option. But react-bootstrap seems like an additional tool, if you just want to use bootstrap as it's shown in the bootstrap docs then go with bootstrap.js. Use react-bootstrap if you want to use the React-Bootstrap components

  • @sakosa8784
    @sakosa8784 Před 10 měsíci +1

    helped a lot, i was trying to use the _app.js approach and didnt work,

  • @richdari944
    @richdari944 Před 7 měsíci

    nice! very nice! 👍

  • @mohitsaud2071
    @mohitsaud2071 Před 6 měsíci

    Thanks Brother

  • @Narutocandraw
    @Narutocandraw Před 4 měsíci

    Thank You

  • @hptimef4
    @hptimef4 Před 6 měsíci

    Thank you so much.❤

  • @user-kr3bd4iq4i
    @user-kr3bd4iq4i Před 8 měsíci

    If i'm importing and component above the children, then the BootstrapClient component doesn't work
    How to fix this?

    • @1ManStartup
      @1ManStartup  Před 8 měsíci

      Have you tried putting BootstrapClient above all of them?

  • @yaelcontla9340
    @yaelcontla9340 Před 10 měsíci

    One question, if I don't have the layout component, may I add BootstrapClient in each component? Or how Can I do it?

    • @1ManStartup
      @1ManStartup  Před 10 měsíci

      If you don't have the layout component then you're probably using the Pages Router. If that's the case this video shows the setup czcams.com/video/RkeDCqs2vdg/video.html
      But no don't add it to each component, there will definitely be a way you can add it in one location.

  • @JulianA-rm4ry
    @JulianA-rm4ry Před 9 měsíci

    Clean

  • @d77droid
    @d77droid Před 10 měsíci

    Hey mate what about the font? Im trying to setup a custom font with this exact setup but bootstrap overrides it, im importing it before my globals and all that, my fonts are actually being defined in my css classes so idk how i should do it :/

    • @1ManStartup
      @1ManStartup  Před 10 měsíci

      If you're using google fonts then the way this is configured will work. It's setup using Inter for the whole project but if, for example, you wanted to use Inconsolata for all the h1 tags in globals.css you'd just add:
      h1 {
      font-family: "Inconsolata";
      }

    • @d77droid
      @d77droid Před 10 měsíci

      @@1ManStartup yeah i have tried using this import, it loads but then bootstrap variable overrides it with bs default, ive tested on devtools and also disabled bootstrap, then my font appears idk i will try to debug this tomorrow

    • @d77droid
      @d77droid Před 10 měsíci

      also video embed is bugging your site on ios

    • @1ManStartup
      @1ManStartup  Před 10 měsíci

      @@d77droid I just tested it myself and I was able to see a custom font for h1 tags based on globals.css & the default inter for everything else.
      Maybe your imports are out of order?

    • @1ManStartup
      @1ManStartup  Před 10 měsíci

      @@d77droid Thanks! I'll look into that

  • @luisitoanrrango1867
    @luisitoanrrango1867 Před 7 měsíci

    Very good , excelente , estube una hora tonteando y no funcionaba

  • @stick-band
    @stick-band Před 3 měsíci

    That is weird tutorial, there is react bootstrap that should be used here

    • @1ManStartup
      @1ManStartup  Před 3 měsíci +1

      react-bootstrap looks like a nice alternative, although it might have a slight learning curve for those already familiar with normal bootstrap classes, thanks for sharing!