React项目引入Bootstrap
在项目根目录:
npm install bootstrap --save
在index.js:
import 'bootstrap/dist/css/bootstrap.min.css'
选择、调整样式:
https://v4.bootcss.com/docs/components/alerts/
https://v4.bootcss.com/docs/utilities/borders/
在项目根目录:
npm install bootstrap --save
在index.js:
import 'bootstrap/dist/css/bootstrap.min.css'
选择、调整样式:
https://v4.bootcss.com/docs/components/alerts/
https://v4.bootcss.com/docs/utilities/borders/