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

31 lines
1.3 KiB
TypeScript
Raw Normal View History

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';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
2022-10-16 18:52:56 +00:00
import { GamesBarComponent } from './games-bar/games-bar.component';
import { GameButtonComponent } from './games-bar/game-button/game-button.component';
import { TuiAvatarModule } from "@taiga-ui/kit";
2022-10-16 14:19:11 +00:00
@NgModule({
2022-10-16 18:52:56 +00:00
declarations: [AppComponent, GamesBarComponent, GameButtonComponent],
imports: [BrowserModule, AppRoutingModule, BrowserAnimationsModule, TuiRootModule, TuiDialogModule, TuiAlertModule, TuiButtonModule, TuiAvatarModule],
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 {}