Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using NG workshop in lazy loaded components #10

Open
alamanna opened this issue Jul 14, 2018 · 0 comments
Open

Using NG workshop in lazy loaded components #10

alamanna opened this issue Jul 14, 2018 · 0 comments

Comments

@alamanna
Copy link

When trying to use NG workshop everything is fine until attempting to use the card grid in a lazy loaded module. Looking at the code I noticed you are importing the routerModule.ForRoot() which when importing the module will cause it to break in a lazy loaded module do to having a .ForRoot() instead of .ForChild(). This will happen with any workshop module that has a routerModule.ForRoot() import and currently any modules of ng workshop are unusable in a lazy loaded section of an application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant