Icon is not working

web
mobile

Topic: Icon is not working

Iswarya asked 1 months 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 4 weeks 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.
Status

Answered

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