angular-dashboard icon indicating copy to clipboard operation
angular-dashboard copied to clipboard

Isssue with loadChildren route

Open HarveyEV opened this issue 6 years ago • 2 comments

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.

HarveyEV avatar Jul 08 '18 14:07 HarveyEV

@HarveyEV Routing didn't work for me too. Even after changes as you said. It doesn't work.

I am using angular 5

[It works without any change, I was using a wrong URL]

chigurupati avatar Jul 27 '18 14:07 chigurupati

Hi @HarveyEV and @chigurupati! I am not sure that routing is the key problem with this code. I have created a simplified StackBlitz (first half of the Medium tutorial): https://stackblitz.com/edit/nima200-angular-dashboard-basic And also a full one of the code "as is" to try and help sort the issues: https://stackblitz.com/edit/nima200-angular-dashboard Both give errors... If you have a moment, any suggestions to resolve this would be appreciated :) Saludos, Mike

mikegoodstadt avatar Aug 14 '18 08:08 mikegoodstadt