import {NgModule} from "@angular/core";
import {RouterModule, Routes} from "@angular/router";
import {PreviewComponent} from "./component/preview.component";
import {DYNAMIC_ROUTING} from "../../page.routing";

const previewRoutes: Routes = [
  {
    path: 'preview',
    component: PreviewComponent,
    children: DYNAMIC_ROUTING,
  }
];

@NgModule({
  imports: [RouterModule.forRoot(previewRoutes, {useHash: true})],
  exports: [RouterModule]
})
export class PreviewRoutingModule {

}