Skip to content

Isssue with loadChildren route #1

Description

@HarveyEV

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions