Topic: Icon is not working
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 5 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.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- 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