mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 16:30:13 +01:00
Update Setting Router
This commit is contained in:
parent
b66f3720cf
commit
187056380e
10 changed files with 255 additions and 7 deletions
27
src/app/pages/settings/settings-routing.module.ts
Normal file
27
src/app/pages/settings/settings-routing.module.ts
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
|
||||
import { SettingsComponent } from './settings.component';
|
||||
import { KeywordsDictionaryComponent } from './keywordsdictionary/keywordsdictionary.component';
|
||||
|
||||
const routes: Routes = [{
|
||||
path: '',
|
||||
component: SettingsComponent,
|
||||
children: [
|
||||
{
|
||||
path: 'keywordsdictionary',
|
||||
component: KeywordsDictionaryComponent,
|
||||
},
|
||||
],
|
||||
}];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule],
|
||||
})
|
||||
export class SettingsRoutingModule { }
|
||||
|
||||
export const routedComponents = [
|
||||
SettingsComponent,
|
||||
KeywordsDictionaryComponent,
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue