How to use the @nativescript/angular/router.NativeScriptRouterModule.forChild function in @nativescript/angular

To help you get started, we’ve selected a few @nativescript/angular 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 Akylas / nativescript-material-components / demo-ng / src / app / examples / examples.routing.ts View on Github external
{
        path: 'progress',
        component: ProgressComponent
    },
    {
        path: 'activity-indicator',
        component: ActivityIndicatorComponent
    },
    {
        path: 'bottom-navigation-bar',
        component: BottomNavigationBarComponent
    }
];

@NgModule({
    imports: [NativeScriptRouterModule.forChild(routes)],
    exports: [NativeScriptRouterModule]
})
export class ExamplesRoutingModule {}