Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiled with problems: error NG8001: 'mat-card' is not a known element: #635

Open
hemilndr opened this issue Jul 12, 2023 · 1 comment
Open

Comments

@hemilndr
Copy link

please see below code snippest

import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { TranslateModule } from '@ngx-translate/core';
import { FlexLayoutModule } from '@angular/flex-layout';

import { MaterialModule } from '@app/material.module';
import { CommonRoutingModule } from './common-routing.module';
import { CommonComponent } from './common.component';
import { MatCardModule } from '@angular/material/card';

@NgModule({
imports: [CommonModule, TranslateModule, FlexLayoutModule, MaterialModule, CommonRoutingModule,MatCardModule],
declarations: [CommonComponent],
})
export class AboutModule {}




import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { MatCardModule } from '@angular/material/card';

@NgModule({
  imports: [
    // Other imported modules...
    BrowserAnimationsModule,
    MatCardModule
  ],
  // Other module properties...
})
export class AppModule { }


@ArslanAmeer
Copy link

What exactly is the issue here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants