From d352c98237c1e6e2e16357a21999b88ae0456f9c Mon Sep 17 00:00:00 2001 From: Luis Ball Date: Tue, 20 Apr 2021 09:49:50 -0400 Subject: [PATCH] chore(index): undo change from component to use This commit reverts the use of `App.use`. The correct `App` instance method to use here is `App.component`. --- src/plugins/vue-imgix/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/vue-imgix/index.ts b/src/plugins/vue-imgix/index.ts index 3b1032c4..69a68b14 100644 --- a/src/plugins/vue-imgix/index.ts +++ b/src/plugins/vue-imgix/index.ts @@ -9,9 +9,9 @@ export function install(App: typeof _App, options: IVueUseImgixOptions) { if (install.installed) return; install.installed = true; initVueImgix(options); - App.use('ix-img', IxImg); - App.use('ix-picture', IxPicture); - App.use('ix-source', IxSource); + App.component('ix-img', IxImg); + App.component('ix-picture', IxPicture); + App.component('ix-source', IxSource); } install.installed = false;