argos/dmp-frontend/src/app/ui/quick-wizard/quick-wizard.rooting.ts

42 lines
1.0 KiB
TypeScript
Raw Normal View History

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 { }