How to include bootstrap css and js in reactjs app?

后端 未结 19 1026
既然无缘
既然无缘 2020-12-04 05:07

I am newb to reactjs, I want to include bootstrap in my react app

I have installed bootstrap by npm install bootstrap --save

Now, want to load b

相关标签:
19条回答
  • 2020-12-04 05:50

    Hope this is helpful ;)

    Step 1: using NPM install this bellow command

    npm install --save reactstrap@next react react-dom
    

    Step 2: example index.js main script import bellow command

    import 'bootstrap/dist/css/bootstrap.min.css';
    

    Step 3: UI components refer bellow website reactstrap.github.io

    0 讨论(0)
提交回复
热议问题