Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: MDB React SideNavPage question

k4qdex free asked 5 years ago


Hi. I am trying to use mdb react sidenav component according to this example https://mdbootstrap.com/docs/react/navigation/sidenav/

i copy the code from the bottom of the page and paste it in my code, however I get the error that the sidenavpage component is not exported by mdbreact. i know it cannot be used with the mdbreact free version installed with npm, but i cannot locate the mdbreact in the files of the mdbreact pro version i have bought. I have the zip files. can anybody tell me where it is located?


Anna Morawska staff answered 5 years ago


Hi there,

Sidenav is a pro component, and you have to have a pro license to use it in our project, otherwise, it won't work.

Best, Ania


Anna Morawska staff answered 5 years ago


Hi there,

to use mdbreact pro, please remove your entire node_modules folder and replace mdbreact dependency declaration in the package.json file with this:

"dependencies": {
  "mdbreact": "git+https://oauth2:YOUR_TOKEN_GOES_HERE@git.mdbootstrap.com/mdb/react/re-pro.git"
}

Then, just run npm install - after that, you should be able to use mdbreact Pro features


k4qdex free commented 5 years ago

Hi. thanks for your reply. i dont have a token. is there a test version of mdb pro react? i really like the sidenavpage



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

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.8.2
  • Device: PC
  • Browser: Chrome
  • OS: Win 10
  • Provided sample code: No
  • Provided link: Yes
Tags