1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-09 05:57:40 +02:00
bitwarden-browser/src/app/app.module.ts

36 lines
1.1 KiB
TypeScript
Raw Normal View History

2021-12-17 15:57:11 +01:00
import { InfiniteScrollModule } from "ngx-infinite-scroll";
2018-06-05 21:02:53 +02:00
2021-12-17 15:57:11 +01:00
import { DragDropModule } from "@angular/cdk/drag-drop";
import { NgModule } from "@angular/core";
import { FormsModule } from "@angular/forms";
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
2018-06-05 05:10:41 +02:00
2021-12-17 15:57:11 +01:00
import { BitwardenToastModule } from "jslib-angular/components/toastr.component";
2021-12-07 20:41:45 +01:00
2021-12-17 15:57:11 +01:00
import { AppComponent } from "./app.component";
import { OssRoutingModule } from "./oss-routing.module";
import { OssModule } from "./oss.module";
import { ServicesModule } from "./services/services.module";
import { WildcardRoutingModule } from "./wildcard-routing.module";
2018-07-24 03:47:08 +02:00
2018-06-05 05:10:41 +02:00
@NgModule({
2021-12-17 15:57:11 +01:00
imports: [
OssModule,
BrowserAnimationsModule,
FormsModule,
ServicesModule,
BitwardenToastModule.forRoot({
maxOpened: 5,
autoDismiss: true,
closeButton: true,
}),
InfiniteScrollModule,
DragDropModule,
OssRoutingModule,
WildcardRoutingModule, // Needs to be last to catch all non-existing routes
],
declarations: [AppComponent],
bootstrap: [AppComponent],
2018-06-05 05:10:41 +02:00
})
2021-12-17 15:57:11 +01:00
export class AppModule {}