Topic: MDBootstrap with ngx-build-plus

andiwiryawan free asked 5 years ago


I want to build microfrontend with ngx-build-plus but always error after build, after hours of test, I get conclusion.

  1. if use MDBBootstrapModulesPro.forRoot() core.umd error because of undefined constructor

  2. if use forRoot other module, can load but if have animation, Cannot read property 'bind' of undefined

question : can mdboostrap use for ngx-build-plus?

Resources (screenshots, code snippets etc.)

enter image description here enter image description here enter image description here enter image description here


Arkadiusz Idzikowski staff commented 5 years ago

We didn't test this library with MDB Angular. Could you send us a simple demo with ngx-build-tools configaration so we can take a closer look at this problem? Here is my email: a.idzikowski@mdbootstrap.com


andiwiryawan free answered 5 years ago


it is same without carouselmodule I think because I build use --prod and --aot the problem shows up


andiwiryawan free answered 5 years ago


sure, I will email now thanks


Arkadiusz Idzikowski staff commented 5 years ago

Thank you, we will take a closer look at it. Could you also provide full error codes (if there are any other than those shown on screenshot).

I see that you incorrectly imported CarouselModule. The import name should be CarouselModule.forRoot() instead of just CarouselModule.



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 Angular
  • MDB Version: 8.2.0
  • Device: HP
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No