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.
40 lines
891 B
40 lines
891 B
/*
|
|
* Squidex Headless CMS
|
|
*
|
|
* @license
|
|
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
|
|
*/
|
|
|
|
import { NgModule } from '@angular/core';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
import { SqxFrameworkModule, SqxSharedModule } from '@app/shared';
|
|
import { ApiAreaComponent, GraphQLPageComponent } from './declarations';
|
|
|
|
const routes: Routes = [
|
|
{
|
|
path: '',
|
|
component: ApiAreaComponent,
|
|
children: [
|
|
{
|
|
path: ''
|
|
},
|
|
{
|
|
path: 'graphql',
|
|
component: GraphQLPageComponent
|
|
}
|
|
]
|
|
}
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [
|
|
RouterModule.forChild(routes),
|
|
SqxFrameworkModule,
|
|
SqxSharedModule
|
|
],
|
|
declarations: [
|
|
ApiAreaComponent,
|
|
GraphQLPageComponent
|
|
]
|
|
})
|
|
export class SqxFeatureApiModule {}
|