-
Notifications
You must be signed in to change notification settings - Fork 1
Module
Lorenzo D'Ianni edited this page Jul 13, 2017
·
1 revision
Import SidebarJSModule and invoke forRoot() only inside the MainModule.
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { SidebarJSModule } from 'ng-sidebarjs';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
SidebarJSModule.forRoot()
],
bootstrap: [
AppComponent
]
})
export class AppModule { }