Topic: MB4 to MB5 upgrade help

lifeit-ebusinessportalsupport priority asked 6 months ago


Expected behavior We are trying to upgrade our application from Angular 8 to Angular 16. We are using MDB version 4 today and we can only go as high as Angular 15 with it so, We looked at trying to upgrade to MDB 5 to support Angular 16 but it seems that requires a lot of code changes. Do you have any guide to follow for to upgrade each components?

In addition, Here are additional question from our devs

  1. What changes needs to be made while switching from MDB4 to MDB5? Looks like the underlying package and contents changed a lot between the version as per the two links.
  2. Is there any migration guide for the same?
  3. Is there any possible way to make MDB4 work with Angular version 16?

Actual behavior

Resources (screenshots, code snippets etc.)


Großmeister T priority commented 5 months ago

We just migrated some larger projects from MDB4 to MDB5 and yes, this means work - a lot of work! :-)

If you use standalone components in Angular, it makes life much easier. You then may include both MDB libs to your project at the same time and migrate the components step by step. When all is done you finally can remove MDB4 and your project is migrated and should work properly.

We did it this way and it worked out quite well. Good luck! :)


Arkadiusz Idzikowski staff answered 6 months ago


1 and 2: Sadly we don't have a guide for switch from MDB4 to MDB5 because these are two separate libraries. We have tried to keep as many similarities as possible, but the syntax of components and the method of configuration may differ significantly in some cases.

I think the best way would be to compare the documentation for individual components and adjust the syntax/imports accordingly.

3: The latest version of MDB4 is v15.0.0 and it only has support for Angular 15



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: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB5 5.0.0
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: Yes