How to solve 'mat-card' is not a known element add 'CUSTOM_ELEMENTS_SCHEMA' in Angular Material

Поделиться
HTML-код
  • Опубликовано: 29 ноя 2024

Комментарии • 10

  • @pranavpagare0109
    @pranavpagare0109 9 месяцев назад

    i wann direct solution when i am create new component then i dont wann do it mannully

  • @ankushjassal1158
    @ankushjassal1158 4 месяца назад

    even after adding the same in app.module.ts and other still i am getting error in "If 'mat-icon' is an Angular component, then verify that it is part of this module.
    2. If 'mat-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message."
    I already restart server several times but still getting same error.

    • @Saleh-v8j
      @Saleh-v8j 4 месяца назад

      bro I have the same problem idk what the fuck is that

    • @misycode
      @misycode 2 месяца назад

      @@Saleh-v8j I'm also facing the same issue. Have you encountered the solution?

  • @swwitcher8238
    @swwitcher8238 4 месяца назад

    Thanks you bro !

  • @pokemonstudies308
    @pokemonstudies308 Год назад

    Thanks, mate.

  • @shubhamdas7347
    @shubhamdas7347 8 месяцев назад

    Thanks buddy:)