You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to integrate image-kit with my angular 8 app.
I followed the documentation for setting up the things.
It is working well if I use <ik-image src="my-img-url" alt="This is an alt"></ik-image> in app.component.html but I'm getting the following error if I use it in my lazy loading module components.
To deal with this error, I moved the below code /import to my shared module.
@imagekitio I also got the same error. If it is imported in AppModule, then I am unable to use it in another module. I also cant import it in multiple modules.
I have used "imagekitio-angular": "^1.0.1" in package.json.
Can you please give a solution for this.
Thank you
@BhanuTejP @hishamhafeel
Sorry for the delay. The issue has been fixed. You can now import the ImageKit module in lazy modules just like you would in the App module:
Hi,
I'm trying to integrate image-kit with my angular 8 app.
I followed the documentation for setting up the things.
It is working well if I use
<ik-image src="my-img-url" alt="This is an alt"></ik-image>
in app.component.html but I'm getting the following error if I use it in my lazy loading module components.To deal with this error, I moved the below code /import to my shared module.
ImagekitioAngularModule.forRoot({
publicKey: environment.publicKey,
urlEndpoint: environment.urlEndpoint,
authenticationEndpoint: environment.authenticationEndpoint + 'image_kit/auth'
}),
But Im getting the below error.
So can you please tell me what I am doing wrong/ missing here.
Thank you.
The text was updated successfully, but these errors were encountered: