Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { NgModule } from '@angular/core';
- import { CommonModule } from '@angular/common';
- import { ToolbarComponent } from './components/toolbar/toolbar.component';
- import { MaterialModule } from '../shared/ui/material.module';
- import { BookkeepingCardComponent } from './components/bookkeeping-card/bookkeeping-card.component';
- import { FormsModule, ReactiveFormsModule } from '@angular/forms';
- import { BrowserModule } from '@angular/platform-browser';
- import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
- import { NgxChartsModule } from '@swimlane/ngx-charts';
- import { ChartComponent } from './components/bookkeeping-card/chart/chart.component';
- @NgModule({
- declarations: [ToolbarComponent, BookkeepingCardComponent, ChartComponent],
- imports: [
- CommonModule,
- MaterialModule,
- FormsModule,
- ReactiveFormsModule,
- BrowserModule,
- BrowserAnimationsModule,
- NgxChartsModule
- ],
- exports: [ToolbarComponent, BookkeepingCardComponent]
- })
- export class CoreModule { }
- @NgModule({
- declarations: [
- AppComponent
- ],
- imports: [
- BrowserModule,
- CoreModule,
- SharedModule,
- HttpClientModule,
- FormsModule,
- ReactiveFormsModule,
- NgxChartsModule
- ],
- providers: [DatePipe, {provide: MAT_DATE_LOCALE, useValue: 'en-GB'}],
- bootstrap: [AppComponent]
- })
- export class AppModule { }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement