Few files from SCSS folder are not available anymore after upgrade from 4.5.3 to 5.3.3 #40968
Replies: 2 comments
-
The jumbotron has been removed as it can be sufficiently implemented using other utility classes, and the rest have been integrated into other CSS settings internally, rather than being separated into distinct files. Please refer to the migration guide for confirmation, or if you wish to continue using the old method, consider creating a new SCSS file by referencing the lower version of the respective file. |
Beta Was this translation helpful? Give feedback.
-
Hi @TechBright , After upgrading Bootstrap from 4.5.3 to 5.3.3, the SCSS files you've mentioned are no longer available because Bootstrap 5 has made some changes, including removing or renaming certain components. Here are the alternatives you can use:
Make sure to check the Bootstrap 5 migration guide for detailed changes and how to adapt your styles accordingly. Thanks! |
Beta Was this translation helpful? Give feedback.
-
We have recently updated the version of bootstrap from 4.5.3 to 5.3.3 and since the building is failing due to below files we are referring in our main.scss are not found anymore.
@import "../../../node_modules/bootstrap/scss/print"
@import "../../../node_modules/bootstrap/scss/media"
@import "../../../node_modules/bootstrap/scss/jumbotron"
@import "../../../node_modules/bootstrap/scss/custom-forms"
@import "../../../node_modules/bootstrap/scss/code"
I am guessing there must be an alternative files I should refer instead or equivalent. Our application depends on those files, I could build the application successfully after commenting out above files but the layout all shattered.
I would appreciate if anyone suggest me how to solve this issue.
Beta Was this translation helpful? Give feedback.
All reactions