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'; import { APP_BASE_HREF, LocationStrategy, HashLocationStrategy, } from '@angular/common'; import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; import { GamesBarComponent } from './games-bar/games-bar.component'; import { GameButtonComponent } from './games-bar/game-button/game-button.component'; import { TuiAvatarModule } from "@taiga-ui/kit"; @NgModule({ declarations: [AppComponent, GamesBarComponent, GameButtonComponent], imports: [BrowserModule, AppRoutingModule, BrowserAnimationsModule, TuiRootModule, TuiDialogModule, TuiAlertModule, TuiButtonModule, TuiAvatarModule], providers: [ { provide: APP_BASE_HREF, useValue: '/' }, { provide: LocationStrategy, useClass: HashLocationStrategy }, {provide: TUI_SANITIZER, useClass: NgDompurifySanitizer} ], bootstrap: [AppComponent], }) export class AppModule {}