Skip to content

template parse error #11

Description

@lafiza

Getting the below error when using in webpack Angular cli project
'notification-icon' is not a known element:

  1. If 'notification-icon' is an Angular component, then verify that it is part of this module.
  2. If 'notification-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.

Coding:::::-->

appComponent.ts:
Added --->
import 'angular' ;
import 'angular-animate';
import 'angular-notification-icons';
import 'angular-notification-icons/dist/angular-notification-icons.css';

And in HTML , i have -->

Workflow

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions