Answers for "react bootstrap 5 doesn't apply styles"

0

react bootstrap 5 doesn't apply styles

add the following to your index.html:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
    integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous" />

add this to your src/index.js or App.js file:

import 'bootstrap/dist/css/bootstrap.min.css';
Posted by: Guest on August-14-2021

Browse Popular Code Answers by Language