2022-10-16 18:52:56 +00:00
|
|
|
import { NgDompurifySanitizer } from "@tinkoff/ng-dompurify";
|
|
|
|
import { TuiRootModule, TuiDialogModule, TuiAlertModule, TUI_SANITIZER } from "@taiga-ui/core";
|
|
|
|
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
|
|
|
|
import {TuiButtonModule} from '@taiga-ui/core';
|
2022-10-16 14:19:11 +00:00
|
|
|
import {
|
|
|
|
APP_BASE_HREF,
|
|
|
|
LocationStrategy,
|
|
|
|
HashLocationStrategy,
|
|
|
|
} from '@angular/common';
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
|
2022-10-17 18:48:28 +00:00
|
|
|
import { AppRoutingModule } from './modules/app-routing.module';
|
2022-10-16 14:19:11 +00:00
|
|
|
import { AppComponent } from './app.component';
|
2022-10-16 18:52:56 +00:00
|
|
|
import { TuiAvatarModule } from "@taiga-ui/kit";
|
2022-10-17 18:48:28 +00:00
|
|
|
import { GamesBarModule } from "./components/games-bar/games-bar.module";
|
2022-10-16 18:52:56 +00:00
|
|
|
|
2022-10-16 14:19:11 +00:00
|
|
|
|
|
|
|
@NgModule({
|
2022-10-17 18:48:28 +00:00
|
|
|
declarations: [AppComponent],
|
|
|
|
imports: [BrowserModule, AppRoutingModule, BrowserAnimationsModule, TuiRootModule, TuiDialogModule, TuiAlertModule, TuiButtonModule, TuiAvatarModule, GamesBarModule],
|
2022-10-16 14:19:11 +00:00
|
|
|
providers: [
|
|
|
|
{ provide: APP_BASE_HREF, useValue: '/' },
|
|
|
|
{ provide: LocationStrategy, useClass: HashLocationStrategy },
|
2022-10-16 18:52:56 +00:00
|
|
|
{provide: TUI_SANITIZER, useClass: NgDompurifySanitizer}
|
|
|
|
],
|
2022-10-16 14:19:11 +00:00
|
|
|
bootstrap: [AppComponent],
|
|
|
|
})
|
|
|
|
export class AppModule {}
|