I want to add bootstrap 4.5 to my CMS template with the possibility to theme some variables with SCSS. But I can't get it to work. I've downloaded the source files and uploaded them to /assets/bootstrap (So bootstrap.scss is located at /assets/bootstrap/scss/bootstrap.scss).
Then I've installed CSSPreprocessor 3.0-beta3, filled in 'assets/bootstrap/scss' as option for the directory which contains the LESS/SASS files which have to be included in the compilation. As final step I've made a stylesheet for my design, with the following code;
Code: Select all
$grid-breakpoints: (
  xs: 375px,
  sm: 640px,
  md: 768px,
  lg: 980px,
  xl: 1800px
);
@import "[[root_url]]/assets/bootstrap/scss/bootstrap.scss";

