42 lines
1.0 KiB
TypeScript
42 lines
1.0 KiB
TypeScript
import { NgModule } from '@angular/core';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
import { DmpEditorWizardComponent } from './dmp-editor/dmp-editor-wizard.component';
|
|
import { ProjectEditorWizardComponent } from './project-editor/project-editor-wizard.component';
|
|
import { QuickWizardEditorComponent } from './quick-wizard-editor/quick-wizard-editor.component';
|
|
import { DatasetEditorWizardComponent } from './dataset-editor/dataset-editor-wizard.component';
|
|
|
|
const routes: Routes = [
|
|
{
|
|
path: '',
|
|
component: QuickWizardEditorComponent,
|
|
data: {
|
|
breadcrumb: true
|
|
},
|
|
},{
|
|
path: 'project',
|
|
component: ProjectEditorWizardComponent,
|
|
data: {
|
|
breadcrumb: true
|
|
},
|
|
},
|
|
{
|
|
path: 'dmp',
|
|
component: DmpEditorWizardComponent,
|
|
data: {
|
|
breadcrumb: true
|
|
},
|
|
},
|
|
{
|
|
path: 'dataset',
|
|
component: DatasetEditorWizardComponent,
|
|
data: {
|
|
breadcrumb: true
|
|
},
|
|
}
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule]
|
|
})
|
|
export class QuickWizardRoutingModule { } |