我开始使用reactstrap开发一个 React 应用程序。我按照 Get Started 运行以下命令:
npm install -g create-react-app
create-react-app my-app
cd my-app/
npm start
npm install bootstrap --save
npm install --save reactstrap@next react react-dom
然后我可以在我的项目文件夹"bootstrap": "^4.0.0"
中package.json
的 'sdependencies
和 bootstrap/ 中看到。node_modules
出色地。
例如,现在我想更改 boostrap 的原色。让我们开始简单:)。我已阅读Bootstrap 4 Themingcustom.scss
,但在我的项目中没有找到任何内容。
使用 reactstrap 时添加和编辑引导主题的正确方法是什么?另外,我如何在引导更新/node_modules
中保留我的更改.gitignore
?
PS:我是 web / react 开发的新手,所以如果我问/说任何愚蠢或明显的事情,我深表歉意。
谢谢