score:8

Accepted answer

you installed the bootstrap npm module, but that only downloads the files to your node_modules/ directory. you haven't yet actually required bootstrap within your project itself.

try doing this above import './app.css'

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

you could also try linking to the bootstrap.min.cssfile in your public/index.html, if the import does not work.


Related Query

More Query from same tag