Topic: npm install mdbreact pro bootstrap.min.css and fontawesome.min.css not found
Hi
I've followed the 5 minute quick install instructions several times and am still getting the error message:
Module not found: Can't resolve 'bootstrap/dist/css/bootstrap.min.css' in 'C:\Users\User\Anndra Group Limited\Buaidh - Documents\DevOps\bpm_react\bpm-react\src'
I have uninstalled mdbreact and reinstalled using mdbreact. I have put the import bootstrap.min.css in the right order (as per other issue open) and continue to get the error.
I'm sure I'm missing something simple but not sure why this is not working when I follow your instructions to the letter.
Thanks
Andrew
Add comment
Anna Morawska staff answered 6 years ago
Hi there,
probably it's because we don't longer use bootstrap as a dependency. It has been mentioned here, in our changelog. Please alter your import statement in index.js file into :
import 'bootstrap-css-only/css/bootstrap.min.css';It should help. Best, Ania
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- User: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: 4.7.1
- Device: HP
- Browser: Chrome
- OS: Windows
- Provided sample code: Yes
- Provided link: No
Tags
Related topics