How To Recompile Bootstrap's Sass In VSCode

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ก.พ. 2025

ความคิดเห็น • 23

  • @CameronWheatley-t7m
    @CameronWheatley-t7m 13 วันที่ผ่านมา +1

    Great video, thanks

  • @piricuaco
    @piricuaco 2 ปีที่แล้ว +1

    This is the video I've been looking for, everything really detailed, Thanks!!!

  • @aidanwatt8707
    @aidanwatt8707 ปีที่แล้ว

    Great job and superb clarity attached to common sense. Thanks

    • @pixelrocket66
      @pixelrocket66  ปีที่แล้ว

      Glad it was helpful!

    • @aidanwatt8707
      @aidanwatt8707 ปีที่แล้ว

      I have followed your framework which worked fine except for one small item. I used the Navbars Offcanvas html instead of just a navbar. I do have a bootstrap website but the offcanvas part is not working nor the color mode button. Can you give me a heads up how to connect them again.

  • @jw3b24
    @jw3b24 2 ปีที่แล้ว +1

    I've spent 2 days trying to get the sass / scss files compiled like this and the live sass server worked, but the configs were confusing and I wasnt comfortable with it.
    I like how you did it here, so much easlier. !thanks!

  • @ParhamSalamati
    @ParhamSalamati 10 หลายเดือนก่อน

    Very strait forward, right to the point, thanks for sharing ^_^

  • @pixelrocket66
    @pixelrocket66  2 ปีที่แล้ว

    Let me know if you want me to create a video for any of the build tools or frameworks!

  • @loomedai
    @loomedai 2 ปีที่แล้ว

    Have you made a video that explains how you import the content from the js files, we download in the maner the video explains, into the rest of the project?

  • @naadiyarizvi6102
    @naadiyarizvi6102 ปีที่แล้ว +1

    why cant I generate the main.css

  • @pixelrocket66
    @pixelrocket66  2 ปีที่แล้ว

    Something I should point out regarding using NPM to install Bootstrap and then using a plugin in VSCode to recompile your Sass. Be aware that if you don't use a build tool (such as Parcel), but try to reference the Bootstrap Javascript file from inside the node_modules folder, you will run into trouble when you deploy your site on something like Netlify. So best in that case to just reference the JS Bootstrap file via a CDN.

  • @rentonplay8101
    @rentonplay8101 2 ปีที่แล้ว

    I am using bootstrap 5.2.2. After I recompiled the SCSS file, I compare the orignal Bootstrap.css and the new one. There are some missing classes in the new css file. For example 'bg-dark' is completely vanished...?

    • @pixelrocket66
      @pixelrocket66  2 ปีที่แล้ว

      I suspect you're using the latest version of Bootstrap in your package.json. There have been a few changes made to the latest Bootstrap, so to be safe, use the same version I use in this video. I will be rerecording these videos to use the latest Bootstrap version in the near future!

    • @rentonplay8101
      @rentonplay8101 2 ปีที่แล้ว

      @@pixelrocket66 Thanks. Looking forward to watching it.

  • @shafs_yt
    @shafs_yt 2 ปีที่แล้ว

    i used ur method instead of the one bootstrap provide for vite i ran into one problem other than that its perfect popovers doesn't work I tried to link via cdn also linked to file path can't seem to work for me

    • @pixelrocket66
      @pixelrocket66  2 ปีที่แล้ว

      Did you init the popovers in your JS file? Some of the JS components (like modals) will work through data attributes alone, but popovers require you to add a few lines of JS to your code: getbootstrap.com/docs/5.2/components/popovers/

  • @it_girl
    @it_girl ปีที่แล้ว

    Hi, I have a question. How can i reuse bootstrap sass in my other files? I've been researching about it for almost 5hrs now. But I can't seem to find any solution.
    Btw your video is a great help. But I'm hoping that someone can answer my question 😊

    • @pixelrocket66
      @pixelrocket66  ปีที่แล้ว

      Other files of the same project? If so, then it depends on how those other files are imported, and also how you are importing your sass file. How are you importing your Sass files - using @import or @use? Do you have a single entry point? (so something like a index.scss where you import all sass files for your project)

  • @666arh
    @666arh 2 ปีที่แล้ว

    good tutorial, thank you
    however, you need to fix the sound issue, there is a noise that causes headache

    • @pixelrocket66
      @pixelrocket66  2 ปีที่แล้ว

      Hi Anwor, thank you for the advice. Are you using headphones?

  • @BG-xu8be
    @BG-xu8be 7 หลายเดือนก่อน

    Nice, but it would have been more useful if you had shown also how to compile the javascript.