FYI, I had an error serving this up "as is" in Ang 6 with the routing.module.ts not being able to resolve the dashboard. I imported the dashboard module
import { DashboardModule } from '../dashboard/dashboard.module'
and modified the loadChildren parameter like below and it loads fine:
{ path: 'dashboard', loadChildren: ()=> DashboardModule },
Just in case anyone else runs into this.
FYI, I had an error serving this up "as is" in Ang 6 with the
routing.module.tsnot being able to resolve the dashboard. I imported the dashboard moduleimport { DashboardModule } from '../dashboard/dashboard.module'and modified the loadChildren parameter like below and it loads fine:
{ path: 'dashboard', loadChildren: ()=> DashboardModule },Just in case anyone else runs into this.