Topic: Icon is not working

Iswarya free asked 3 years ago


compiler.js:2175 Uncaught Error: Template parse errors: 'mdb-icon' is not a known element: 1. If 'mdb-icon' is an Angular component, then verify that it is part of this module. 2. If 'mdb-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. (" button

Welcome

[ERROR ->] camera-retro"):

Getting an above error. Could someone please suggest a solution


Arkadiusz Idzikowski staff answered 3 years ago


You need to import IconsModule.forRoot() module to use mdb-icon component. Please make sure that you included this import in your project.



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

  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.8.1
  • Device: PC
  • Browser: Chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No