skirda-go-launcher-interface/src/app/app.module.ts
2022-11-04 03:45:08 +03:00

43 lines
1.5 KiB
TypeScript

import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
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 { 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';
import { SignInModule } from './components/sign-in/sign-in.module';
import { LoadingScreenComponent } from './components/loading-screen/loading-screen.component';
import { UiModule } from 'projects/ui/src/lib/ui.module'
import { NgxWebstorageModule } from 'ngx-webstorage'
@NgModule({
declarations: [AppComponent, LoadingScreenComponent],
imports: [
BrowserModule,
AppRoutingModule,
BrowserAnimationsModule,
GamesBarModule,
MainModule,
PlaygroundModule,
SandboxModule,
SignInModule,
UiModule,
NgxWebstorageModule.forRoot({ prefix: 'skirda', separator: '.', caseSensitive: true })
],
providers: [
{ provide: APP_BASE_HREF, useValue: '/' },
{ provide: LocationStrategy, useClass: HashLocationStrategy },
],
bootstrap: [AppComponent],
exports: [],
})
export class AppModule {}