How to use the @nebular/theme.NbMenuModule.forRoot function in @nebular/theme

To help you get started, we’ve selected a few @nebular/theme examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github garrylachman / ElectroCRUD / src / app / app.module.ts View on Github external
loader: {
        provide: TranslateLoader,
        useFactory: (HttpLoaderFactory),
        deps: [HttpClient]
      }
    }),
    BrowserAnimationsModule,
    NbThemeModule.forRoot({ name: 'cosmic' }),
    NbLayoutModule,
    NbEvaIconsModule,
    NbSidebarModule.forRoot(), // NbSidebarModule.forRoot(), //if this is your app.module
    NbButtonModule,
    NbActionsModule,
    NbSearchModule,
    NbIconModule,
    NbMenuModule.forRoot(),
    NbTooltipModule,
    NbCardModule,
    NbInputModule,
    NbCheckboxModule,
    NbSelectModule,
    NbDialogModule.forRoot(),
    NgxMaskModule.forRoot(),
    NbToastrModule.forRoot(),
    ReactiveFormsModule,
    NbAlertModule,
    FormlyModule.forRoot(),
    NbDatepickerModule.forRoot(),
    FormlyBootstrapModule,
    Ng2FittextModule,
    NgBootstrapFormValidationModule.forRoot(),
  ],
github akveo / nebular / docs / app / app.module.ts View on Github external
import { DOCS, STRUCTURE } from './app.options';
const docs = require('../output.json');

@NgModule({
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    FormsModule,
    HttpClientModule,
    NbSidebarModule,
    NbCardModule,
    NbLayoutModule,
    NbTabsetModule,
    NbCheckboxModule,
    NbProgressBarModule,
    NbMenuModule.forRoot(),
    NbThemeModule.forRoot(),
    NgdThemeModule.forRoot(),
    NbSidebarModule.forRoot(),
    RouterModule.forRoot(routes, { useHash: false }),
  ],
  declarations: [
    NgdAppComponent,
  ],
  providers: [
    Title,
    { provide: STRUCTURE, useValue: structure },
    { provide: DOCS, useValue: docs },
  ],
  entryComponents: [
  ],
  bootstrap: [NgdAppComponent],
github akveo / nebular / assets / examples / context-menu / context-menu.module.ts View on Github external
@NgModule({
  declarations: [
    ContextMenuClickComponent,
    ContextMenuShowcaseComponent,
    ContextMenuTestComponent,
    ContextMenuModesComponent,
    ContextMenuNoopComponent,
    ContextMenuRightClickComponent,
  ],
  imports: [
    NbContextMenuModule,
    NbLayoutModule,
    NbUserModule,
    NbCardModule,
    NbButtonModule,
    NbMenuModule.forRoot(),
    ContextMenuRoutingModule,
  ],
})
export class ContextMenuModule {}
github akveo / nebular / next / assets / examples / context-menu / context-menu.module.ts View on Github external
@NgModule({
  declarations: [
    ContextMenuClickComponent,
    ContextMenuShowcaseComponent,
    ContextMenuTestComponent,
    ContextMenuModesComponent,
    ContextMenuNoopComponent,
    ContextMenuRightClickComponent,
  ],
  imports: [
    NbContextMenuModule,
    NbLayoutModule,
    NbUserModule,
    NbCardModule,
    NbButtonModule,
    NbMenuModule.forRoot(),
    ContextMenuRoutingModule,
  ],
})
export class ContextMenuModule {}
github akveo / nebular / src / playground / with-layout / menu / menu.module.ts View on Github external
MenuChildrenComponent,
    MenuShowcaseComponent,
    MenuAutoCollapseComponent,
    MenuLinkParamsComponent,
    MenuServiceItem1Component,
    MenuServiceItem2Component,
    MenuServiceItem3Component,
    MenuServiceItem31Component,
    MenuServiceItem32Component,
    MenuServiceItem33Component,
    MenuServiceItem331Component,
    MenuServiceItem332Component,
    MenuServiceComponent,
  ],
  imports: [
    NbMenuModule.forRoot(),
    NbCardModule,
    MenuRoutingModule,
    NbButtonModule,
  ],
})
export class MenuModule {}
github akveo / react-native-ui-kitten / docs / src / app / app.module.ts View on Github external
EXAMPLES_STRUCTURE,
} from './app.options';

@NgModule({
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    FormsModule,
    HttpClientModule,
    NbSidebarModule,
    NbCardModule,
    NbLayoutModule,
    NbTabsetModule,
    NbCheckboxModule,
    NbProgressBarModule,
    NbMenuModule.forRoot(),
    NbThemeModule.forRoot(),
    NgdThemeModule.forRoot(),
    NbSidebarModule.forRoot(),
    RouterModule.forRoot(routes, { useHash: false }),
  ],
  declarations: [
    NgdAppComponent,
  ],
  providers: [
    Title,
    { provide: STRUCTURE, useValue: structure },
    { provide: DOCS, useValue: docs },
    { provide: EXAMPLES_STRUCTURE, useValue: examples },
  ],
  entryComponents: [
  ],
github akveo / ngx-admin / src / app / app.module.ts View on Github external
NbToastrModule,
  NbWindowModule,
} from '@nebular/theme';

@NgModule({
  declarations: [AppComponent],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    HttpClientModule,
    AppRoutingModule,

    ThemeModule.forRoot(),

    NbSidebarModule.forRoot(),
    NbMenuModule.forRoot(),
    NbDatepickerModule.forRoot(),
    NbDialogModule.forRoot(),
    NbWindowModule.forRoot(),
    NbToastrModule.forRoot(),
    NbChatModule.forRoot({
      messageGoogleMapKey: 'AIzaSyA_wNuCzia92MAmdLRzmqitRGvCF7wCZPY',
    }),
    CoreModule.forRoot(),
  ],
  bootstrap: [AppComponent],
  providers: [
    { provide: APP_BASE_HREF, useValue: '/' },
  ],
})
export class AppModule {
}
github akveo / nebular / src / framework / theme / components / sidebar / sidebar.spec.ts View on Github external
beforeEach(() => {
    TestBed.configureTestingModule({
      imports: [
        RouterTestingModule.withRoutes([]),
        NoopAnimationsModule,
        NbThemeModule.forRoot(),
        NbSidebarModule.forRoot(),
        NbMenuModule.forRoot(),
      ],
      declarations: [ SidebarExpandTestComponent ],
    });
  });