| import { NgModule } from '@angular/core'; | |
| import { BrowserModule } from '@angular/platform-browser'; | |
| import { FormsModule } from '@angular/forms'; | |
| import { HttpClientModule } from '@angular/common/http'; | |
| import { AppRoutingModule } from './app-routing.module'; | |
| // Components | |
| import { AppComponent } from './app.component'; | |
| import { GenerateQuestionsComponent } from './generate-questions/generate-questions.component'; | |
| import { HomeComponent } from './home/home.component'; | |
| import { VoiceComponent } from './voice/voice.component'; | |
| import { ListenComponent } from './listen/listen.component'; | |
| import { WritingComponent } from './writing/writing.component'; | |
| import { VocabularyBuilderComponent } from './vocabulary-builder/vocabulary-builder.component'; | |
| import { FindwordComponent } from './findword/findword.component'; | |
| import { ReadingComponent } from './reading/reading.component'; | |
| import { AuthenticationComponent } from './authentication/authentication.component'; | |
| import { AuthComponent } from './auth/auth.component'; | |
| import { RootRedirectComponent } from './root-redirect/root-redirect.component'; | |
| ({ | |
| declarations: [ | |
| AppComponent, // Add AppComponent here | |
| //GenerateQuestionsComponent, | |
| HomeComponent, | |
| VoiceComponent, | |
| ListenComponent, | |
| WritingComponent, | |
| VocabularyBuilderComponent, | |
| FindwordComponent, | |
| ReadingComponent, | |
| AuthenticationComponent, | |
| AuthComponent, | |
| RootRedirectComponent | |
| ], | |
| imports: [ | |
| BrowserModule, | |
| AppRoutingModule, | |
| FormsModule, | |
| HttpClientModule, | |
| ], | |
| providers: [], | |
| bootstrap: [AppComponent] // Bootstrap AppComponent | |
| }) | |
| export class AppModule { } | |