skirda-go-launcher-interface/src/app/app.module.ts
2022-10-21 21:07:41 +03:00

51 lines
1.5 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';
import { MainModule } from './components/main/main.module';
import { PlaygroundModule } from './components/playground/playground.module';
import { SandboxModule } from './components/sandbox/sandbox.module';
@NgModule({
declarations: [AppComponent],
imports: [
BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
TuiRootModule,
TuiDialogModule,
TuiAlertModule,
TuiButtonModule,
TuiAvatarModule,
GamesBarModule,
MainModule,
PlaygroundModule,
SandboxModule,
],
providers: [
{ provide: APP_BASE_HREF, useValue: '/' },
{ provide: LocationStrategy, useClass: HashLocationStrategy },
{ provide: TUI_SANITIZER, useClass: NgDompurifySanitizer },
],
bootstrap: [AppComponent],
exports: [],
})
export class AppModule {}