Topic: Import NavSidebar module not found
cariforef free asked 2 years ago
Hello,
I have correctly import MSBoostrap in my package.json with the git. But MDBSideNav, MDBSideNavMenu, MDBSideNavItem, MDBSideNavLink are not found in the import in my react project.
Module '"mdb-react-ui-kit"' has no exported member 'MDBSideNav' Module '"mdb-react-ui-kit"' has no exported member 'MDBSideNavLink'
Thanks. Didier
cariforef free answered 2 years ago
I found the solution... I don't really know how. :-) I remove the node_modules and the npm-lock (or pnpm-lock) file. and pnpm i to reinstall all modules. THanks.
Krzysztof Wilk staff commented 2 years ago
Hi!
I'm glad you found a way to do it. If you have more questions - feel free to ask :)
cariforef free answered 2 years ago
I am in a react typescript project. Please tell me that your bundle is compatible with typescript...
Because it is not compatible with next.js.... I will be disappointed if I cannot use the typecript. All my code is in react Typescript.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB React
- MDB Version: MDB5 4.0.0
- Device: MAC
- Browser: Chrome
- OS: MAC OS 10.15
- Provided sample code: No
- Provided link: No