-
Notifications
You must be signed in to change notification settings - Fork 21
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
Exemple for version 2.1.1 #27
Comments
I'm using angular 8.1.2 |
You are using it incorrectly. This is how you should be using it.
|
Finally, I've used the version "ngx-loadable": "3.0.0-next.12" I've been able to set the config like this
I'm getting an error on
Instead of going into
My Module might not be set up correctly.
Based on your reply, I will create a live sample tomorrow |
The error is the following : |
3.0.0-next.12 is only to be used along with Angular CLI 9.0.0-next version. If you are using Angular CLI 8.x and lesser, please stick with 2.x version of the library. |
Trying to use your package and I'm facing some issue to use it.
I've tried multiple ways to make it work without success...
matcher is required and on the demo, we should use load while in this newer version it is not present.
Then I tried in the component.ts (without the config above)
I get the following error :
When I don't set a config in the module or called preload from the component, I'm getting the following error
the html code look like this
I'm kind of lost with your package.
PS : I'm using ngx-loadable from a lazy module defined with loadChildren in app-routing.module.ts
Also, I will like to know if the content will be displayed at the server level (SSR) as I want to lazy load components of my page to speed up the loading time of the app nevertheless I still need that the full page content to be crawled by Google Bot when it call the server (SSR)
Thanks in advance for your replu
The text was updated successfully, but these errors were encountered: