We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now, in order to use IKImage component, you will have to pass it selectively along with required parameters like this ;
export default { name: "app", components: { IKImage, IKContext, IKUpload }, data() { return { urlEndpoint: "https://ik.imagekit.io/your_imagekit_id", publicKey: "your_public_api_key", authenticationEndpoint: "http://www.yourserver.com/auth" }; }, };
Ideally, there should be an option to declare it once like this:
import ImageKit from "imagekitio-vue"; Vue.use(ImageKit, { urlEndpoint: "https://ik.imagekit.io/your_imagekit_id", publicKey: "your_public_api_key", authenticationEndpoint: "http://www.yourserver.com/auth" });
and then use it globally as
<IKImage path="/default-image.jpg"></<IKImage>
or
<ik-image path="/default-image.jpg"></<ik-image>
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Right now, in order to use IKImage component, you will have to pass it selectively along with required parameters like this
;
Ideally, there should be an option to declare it once like this:
and then use it globally as
or
The text was updated successfully, but these errors were encountered: