Topic: Import NavSidebar module not found

cariforef priority asked 5 months 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 priority answered 5 months 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 5 months ago

Hi!

I'm glad you found a way to do it. If you have more questions - feel free to ask :)


cariforef priority answered 5 months 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.



Please insert min. 20 characters.

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: Priority
  • Premium support: Yes
  • 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