ngx-admin/docs/app/pages/docs/landing-docs-routing.module.ts
2021-10-08 13:51:04 +03:00

39 lines
948 B
TypeScript

/**
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { LandingDocsComponent } from './landing-docs.component';
import { NgxAdminLandingPageComponent } from './page/ngx-admin-landing-page.component';
export const routes: Routes = [
{
path: '',
component: LandingDocsComponent,
children: [
{
path: ':page',
component: NgxAdminLandingPageComponent,
},
{
path: ':page/:subPage',
component: NgxAdminLandingPageComponent,
},
{
path: ':page/:subPage/:tab',
component: NgxAdminLandingPageComponent,
},
],
},
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})
export class LandingDocsRoutingModule {
}