Topic: Mega Menu does not work.

kennylajara priority asked 6 years ago


I can't find a way to make MD Bootstrap Mega Menu works properly. Please, have a look at http://dev.nerdpartners.com/?dev=1 and see the option News for you to see whats happening. Hope you can help me.

Piotr Glejzer staff commented 6 years ago

Hi kennylajara, the main reason why this mega menu dosen't work is fact that you are using version 4.5.1. If you will upgrade to 4.5.9 version your files everything will work well! Best, Piotr

Sebopede free answered 4 years ago


Greetings!

Just a quick comment concerning the Angular Mega Menu library.

In the API documentation, it indicates that it is possible to import the required libraries import { NavbarModule, WavesModule, DropdownModule } from 'ng-uikit-pro-standard'

to use mega menu without having to import the full MDBBootstrapModulesPro.

However, when importing these libraries only and referencing mega menu through html, i get the following error in the console: NullInjectorError: No provider for ComponentLoaderFactory!

Is it possible to look into this, am i missing a library import?

Thanks for the help!


Arkadiusz Idzikowski staff commented 4 years ago

Please try to add forRoot() to the Waves and Dropdown Module so it looks like this:

WavesModule.forRoot() and DropdownModule.forRoot().

In case of any further questions related to the MDB Angular version, please create new thread and choose 'Angular' category.



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 jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags