Ask Your Question

After upgrading to React 18, there is an error in compiling SASS for Bootstrap. How can this issue be resolved?

asked 2021-12-24 11:00:00 +0000

devzero gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-12-03 19:00:00 +0000

scrum gravatar image

To resolve the issue of compiling SASS for Bootstrap after upgrading to React 18, you can follow these steps:

  1. Make sure you have the latest version of Bootstrap installed (version 5 or higher)

  2. Update your SASS compiler to the latest version

  3. Review your SASS files for any outdated syntax or variables that may be causing the issue

  4. Check the console log for any error messages related to SASS compilation and try to fix them accordingly

  5. If none of the above works, consider switching to a different CSS preprocessor (such as LESS or Stylus) or using the pre-compiled CSS files provided by Bootstrap, instead of compiling your own from SASS.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer

Question Tools


Asked: 2021-12-24 11:00:00 +0000

Seen: 13 times

Last updated: Dec 03 '21