import {NgModule} from "@angular/core";
import {RouterModule, Routes} from "@angular/router";
import {ConfirmExitGuard} from "@webbpm/base-package";
import {RolesGuard} from "./guard/RolesGuard";

const appRoutes: Routes = [
  {
    path: 'conversion',
    loadChildren: 'generated-sources/page-conversion.module#PageconversionModule',
    canActivate: [ConfirmExitGuard],
  }
];

@NgModule({
            imports: [RouterModule.forChild(appRoutes)],
            exports: [RouterModule]
          })
export class AppRoutingModule {

}
