Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { NgxDnDModule } from '@swimlane/ngx-dnd';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
NgxDnDModule.forRoot(),
BrowserModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
import { BuilderModule } from './builder/builder.module';
@NgModule({
declarations: [
AppComponent
],
imports: [
CommonModule,
BrowserModule,
BuilderModule,
LoadingBarModule.forRoot(),
LoadingBarHttpClientModule,
LoggerModule.forRoot({ level: NgxLoggerLevel.WARN }),
DocspaCoreModule.forRoot(config, environment),
MarkdownModule.forRoot(preset),
NgxDnDModule.forRoot(),
MarkdownElementsModule.forRoot(),
RuntimeContentModule.forRoot({
imports: [
CommonModule,
NgxDnDModule,
BuilderModule
]
}),
DocsifyPluginsModule.forRoot({
plugins: []
})
],
providers: [
Location,
{ provide: LocationStrategy, useClass: HashLocationStrategy }
],