angular-dashboard
angular-dashboard copied to clipboard
Isssue with loadChildren route
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 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]
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