Topic: How to add Pro Components to ReactJS project?

bennythenerd free asked 5 years ago


I have paid and have some access to the Pro components via a folder of all the Pro components. How do I install the node_module with the Pro components though? Everytime I run npm install _, it updates my MDBReact node_module to just the basic package. If I deploy to production, then it is missing the pro components also


Konrad Stępień staff answered 5 years ago


Hi @bennythenerd,

If you import MDBreact PRO in your package.json file something like this:

"mdbreact": "git+https://oauth2:MY-TOKEN@git.mdbootstrap.com/mdb/react/re-pro.git",

please delete node modules folder and package-lock.json file and then run npm i. Everything should work correctly.

Best regards, Konrad.



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.22.0
  • Device: Mac
  • Browser: Chrome
  • OS: OS 10.15
  • Provided sample code: No
  • Provided link: No