Can't resolve 'mdbreact'
See original GitHub issueHello,
When i try to import Button and Collapse, i get:
Import:
import { Button, Collapse } from 'mdbreact';
Error:
Module not found: Can't resolve 'mdbreact' in 'C:\wamp64\www\bob-web\notice-cmi\src\components\Collapsable'
I installed it with npm. Did i miss something ?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:25 (3 by maintainers)
Top Results From Across the Web
mdbreact - npm
How to install MDB via npm: · create new project create-react-app myApp · cd myApp · npm install --save mdbreact · Import style...
Read more >Material Design Bootstrap (MDBReact) is not working
Getting following error on using mdbreact components,. ←→1 of 2 errors on the page Error: Invalid hook call. Hooks can only be called...
Read more >Module not found: Can\\\'t resolve \\\&
Hi,I keep running into an issue stating that \ <pre><code><span>Module not found: Can\'t resolve \'mdbreact\' </span></code></pre> \I updated my ...
Read more >mdb-react-ui-kit - npm Package Health Analysis - Snyk
Learn more about mdb-react-ui-kit: package health score, popularity, security, maintenance, versions and more.
Read more >Material Design Bootstrap (Mdbreact) Is Not Working - ADocLib
"mdbreact":"git+https://github.com/mdbootstrap/React-Bootstrap-with- ... Error: Module not found: Can't resolve 'mdbreact' in align-items-center"> <Col ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This worked for me
const mdbreact = require('mdbreact'); const { Button, Collapse } = mdbreact;
Taken from StackOverflow
@carlgrimm so what is the solution ? I don’t get it. same issue for me