Created
November 5, 2018 16:56
-
-
Save kheronn/b2f311ae83d1e875d30dbb0849d679ba 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 { AppRoutingModule } from "./app-routing.module"; | |
import { AppComponent } from "./app.component"; | |
import { HttpClientModule } from "@angular/common/http"; | |
import { BrowserAnimationsModule } from "@angular/platform-browser/animations"; | |
// Componentes do Material Angular | |
import { MatDatepickerModule } from "@angular/material/datepicker"; | |
import { MatNativeDateModule } from "@angular/material"; | |
import {MatCardModule} from '@angular/material/card'; | |
import {MatProgressSpinnerModule} from '@angular/material/progress-spinner'; | |
import {MatBadgeModule} from '@angular/material/badge'; | |
import {MatIconModule} from '@angular/material/icon'; | |
import {MatButtonModule} from '@angular/material/button'; | |
import { LOCALE_ID } from '@angular/core'; | |
import { registerLocaleData } from '@angular/common'; | |
import localePt from '@angular/common/locales/pt'; | |
import {MatExpansionModule} from '@angular/material/expansion'; | |
registerLocaleData(localePt, 'pt-BR'); | |
@NgModule({ | |
declarations: [AppComponent], | |
imports: [ | |
BrowserModule, | |
AppRoutingModule, | |
HttpClientModule, | |
BrowserAnimationsModule, | |
MatDatepickerModule, | |
MatNativeDateModule, | |
MatCardModule, | |
MatProgressSpinnerModule, | |
MatBadgeModule, | |
MatIconModule, | |
MatButtonModule, | |
MatExpansionModule | |
], | |
providers: [ { provide: LOCALE_ID, useValue: 'pt-BR' } ], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment