feat: demo version additions

This commit is contained in:
Sergey Andrievskiy 2021-08-06 18:48:35 +03:00
parent 0eec54695f
commit eee950248e
322 changed files with 23456 additions and 188 deletions

View file

@ -0,0 +1,32 @@
import { RouterModule, Routes } from '@angular/router';
import { NgModule } from '@angular/core';
import { PagesComponent } from './pages.component';
const routes: Routes = [{
path: '',
component: PagesComponent,
children: [
{
path: '',
loadChildren: () => import('./home/landing-home.module')
.then(m => m.LandingHomeModule),
},
{
path: 'docs',
loadChildren: () => import('./docs/landing-docs.module')
.then(m => m.LandingDocsModule),
},
{
path: '**',
redirectTo: '',
},
],
}];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})
export class PagesRoutingModule {
}