-
-
Save BrightnBubbly/275685a1f4897c80d0544c8616d0e0ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule } from '@angular/core'; | |
import { RouterModule } from '@angular/router'; // for routing | |
import { HttpClientModule } from '@angular/common/http'; // for the http client | |
import { FormsModule } from '@angular/forms'; // to handle forms | |
import { AppComponent } from './app.component'; | |
import { JoinComponent } from './join/join.component'; | |
@NgModule({ | |
declarations: [ | |
AppComponent, | |
JoinComponent, | |
], | |
imports: [ | |
BrowserModule, | |
FormsModule, | |
HttpClientModule, | |
RouterModule.forRoot([ | |
{ path: 'join', component: JoinComponent }, | |
]), | |
], | |
providers: [], | |
bootstrap: [AppComponent], | |
}) | |
export class AppModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment