Topic: MDB React SideNavPage question
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 6 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 commented 6 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
Anna Morawska staff answered 6 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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: 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