我正在尝试在引导程序中自定义一个react应用程序。
内部src/custom.css@导入"~bootstrap/scss/bootstrap";;
但是,有什么方法可以导入react引导吗
自定义引导程序如果您希望自定义Bootstrap主题或任何Bootstrap变量,您可以创建一个自定义Sass文件:/*以下块可以包含在custom.css 中
/* make the customizations */
$theme-colors: (
"info": tomato,
"danger": teal
);
/*import bootstrap to set changes */
@import "~bootstrap/scss/bootstrap";
并将其导入到Sass主文件中。
/* The following line can be included in a src/App.scss */
@import "custom";