How to use the ngx-tour-md-menu.TourMatMenuModule.forRoot function in ngx-tour-md-menu

To help you get started, we’ve selected a few ngx-tour-md-menu 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 isaacplmann / ngx-tour / src / app / md-menu / md-menu.module.ts View on Github external
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { TourMatMenuModule } from 'ngx-tour-md-menu';

import { DocsComponent } from './docs.component';
import { MdMenuComponent } from './md-menu.component';
import { OtherRouteComponent } from './other-route.component';

@NgModule({
  declarations: [MdMenuComponent, DocsComponent, OtherRouteComponent],
  imports: [
    CommonModule,
    TourMatMenuModule.forRoot(),
    RouterModule.forChild([{
      component: MdMenuComponent,
      path: '',
      children: [{
        component: DocsComponent,
        path: '',
      }, {
        component: OtherRouteComponent,
        path: 'other',
      }]
    }]),
  ],
})
export class MdMenuModule { }

ngx-tour-md-menu

[![Dependency Status](https://david-dm.org/isaacplmann/ngx-tour-md-menu.svg)](https://david-dm.org/isaacplmann/ngx-tour-md-menu) [![devDependency Status](https://david-dm.org/isaacplmann/ngx-tour-md-menu/dev-status.svg)](https://david-dm.org/isaacplmann/n

MIT
Latest version published 4 years ago

Package Health Score

48 / 100
Full package analysis

Popular ngx-tour-md-menu functions

Similar packages