mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.3 KiB
57 lines
1.3 KiB
/*
|
|
* Squidex Headless CMS
|
|
*
|
|
* @license
|
|
* Copyright (c) Sebastian Stehle. All rights reserved
|
|
*/
|
|
|
|
import { NgModule } from '@angular/core';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
|
|
import { SqxFrameworkModule, SqxSharedModule } from 'shared';
|
|
|
|
import {
|
|
ClientComponent,
|
|
ClientsPageComponent,
|
|
ContributorsPageComponent,
|
|
LanguagesPageComponent,
|
|
SettingsAreaComponent
|
|
} from './declarations';
|
|
|
|
const routes: Routes = [
|
|
{
|
|
path: '',
|
|
component: SettingsAreaComponent,
|
|
children: [
|
|
{
|
|
path: ''
|
|
},
|
|
{
|
|
path: 'clients',
|
|
component: ClientsPageComponent
|
|
}, {
|
|
path: 'contributors',
|
|
component: ContributorsPageComponent
|
|
}, {
|
|
path: 'languages',
|
|
component: LanguagesPageComponent
|
|
}
|
|
]
|
|
}
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [
|
|
SqxFrameworkModule,
|
|
SqxSharedModule,
|
|
RouterModule.forChild(routes)
|
|
],
|
|
declarations: [
|
|
ClientComponent,
|
|
ClientsPageComponent,
|
|
ContributorsPageComponent,
|
|
LanguagesPageComponent,
|
|
SettingsAreaComponent
|
|
]
|
|
})
|
|
export class SqxFeatureSettingsModule { }
|