skirda-go-launcher-interface/src/app/app.module.ts

30 lines
1.2 KiB
TypeScript

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