import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { DashboardComponent } from './dashboard/dashboard.component';
import { RouterModule, Routes } from '@angular/router';
import { TreeModule } from 'primeng/tree';

export const routes: Routes = [
  {
      path: 'dashboard',
      component: DashboardComponent,
      data: {roles: ['']},
  }
];

@NgModule({
  declarations: [
    DashboardComponent
  ],
  imports: [
    CommonModule,
    RouterModule.forChild(routes),
    TreeModule
  ]
})
export class DashboardModule { }
