Topic: MDB Pro upgrade in existing projects

Andre Engelbrecht pro asked 6 years ago


Hi, I'm trying to upgrade an existing project from MDB Free to Pro. I've gone through the whole process of getting an access token and successfully did the upgrade via npm. But after installing the pro version with npm my project can't build because it can't find the following file: 'mdbreact/docs/css/mdb.min.cs'. Upon inspection I realized the whole 'Docs' folder is missing. Could you please guide me as to what's going on here or what I'm doing wrong?

Bartłomiej Malanowski staff commented 6 years ago

Do you use MDB React or MDB jQuery?

Andre Engelbrecht pro commented 6 years ago

MDB React - that's why I logged this question under the "MDB React" category :-)

Andre Engelbrecht pro commented 6 years ago

I'm also now having issues with the Select component, it just does not want to open when clicked, but I suspect this also has to do with my installation not being 100% correct.

Andre Engelbrecht pro commented 6 years ago

What is the proper way/procedure to install MDB Pro?


Andre, did you check our MDB React Quick Start?

Andre Engelbrecht pro commented 6 years ago

Hi Bartlomiej, thank you for the response. I did, but I can only guess that I'm missing something, or I'm doing something wrong. My project has evolved quite a bit, I started with MDB Free jQuery version. It then changed to a react project with MDB React Free and now we've upgraded to the MDB Pro. In my index.jsx file I have the following (possibly legacy) imports: import 'font-awesome/css/font-awesome.min.css' import 'bootstrap/dist/css/bootstrap.min.css' import 'mdbreact/docs/css/mdb.min.css' << This reference is causing the issue These imports were required for MDB React Free to work properly. After upgrading to the pro version the docs folder is missing from the node_modulesmdbreact folder and thus the error. I can mitigate it by copying in the docs folder from another source, but surely this isn't how it's supposed to work? So what am I doing wrong? I have MDB Pro installed: "mdbreact": "git+https://oauth2:[MY_TOKEN_VALUE]@git.mdbootstrap.com/mdb/react/re-pro.git" << from package.json The quickstart guide mentions nothing abount addin any imports, so why do I need them? If i remove these my site looks terrible. Please help?

Bartłomiej Malanowski staff commented 6 years ago

Try to change import ‘mdbreact/docs/css/mdb.min.css’ to import 'mdbreact/dist/css/mdb.css';

Andre Engelbrecht pro commented 6 years ago

Hi, thanks, just wanted to let you know that this solution works.

Andre Engelbrecht pro answered 6 years ago


Is no-one from MDB going to answer my simple question? I really just want to know the proper way to implement MDB Pro via npm/yarn? Is this the kind of support that paid customers get?

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB React
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags