mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 15:40:11 +01:00
33 lines
860 B
TypeScript
33 lines
860 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
|
|
import { SettingsComponent } from './settings.component';
|
|
import { KeywordsDictionaryComponent } from './keywordsdictionary/keywordsdictionary.component';
|
|
import { ImageSimilarityComponent } from './imagesimilarity/imagesimilarity.component';
|
|
|
|
const routes: Routes = [{
|
|
path: '',
|
|
component: SettingsComponent,
|
|
children: [
|
|
{
|
|
path: 'keywordsdictionary',
|
|
component: KeywordsDictionaryComponent,
|
|
},
|
|
{
|
|
path: 'imagesimilarity',
|
|
component: ImageSimilarityComponent,
|
|
},
|
|
],
|
|
}];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule],
|
|
})
|
|
export class SettingsRoutingModule { }
|
|
|
|
export const routedComponents = [
|
|
SettingsComponent,
|
|
KeywordsDictionaryComponent,
|
|
ImageSimilarityComponent,
|
|
];
|