我正在使用 React,当我制作时
import 'bootstrap/dist/css/bootstrap.min.css';
import './index.css';
Index.css 不起作用,但是当我删除 bootstrap import 时,Index.css 再次工作,但我无法使用 Reactstrap
我两个都想要
谢谢!
尝试在你的index.css文件中导入bootstrap。
@import url('bootstrap/dist/css/bootstrap.min.css');