import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { HomeComponent } from './home/home.component';
import { NavComponent } from './nav/nav.component';
import { JoinUsComponent } from './join-us/join-us.component';
import { CareersComponent } from './careers/careers.component';
@NgModule({
declarations: [
AppComponent,
HomeComponent,
NavComponent,
JoinUsComponent,
CareersComponent
],
imports: [
BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
MatButtonModule, // The specific module causing trouble
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
My struggle lies in incorporating the MatButtonModule into my app.module.ts file as it does not recognize the name or its functionality. I'm uncertain if I'm overlooking something essential or making an error. I've exhaustively searched for a resolution without much success.