Skip to content

Commit

Permalink
chore(index): undo change from component to use
Browse files Browse the repository at this point in the history
This commit reverts the use of `App.use`. The correct `App` instance
method to use here is `App.component`.
  • Loading branch information
luqven committed Apr 20, 2021
1 parent 1710de7 commit d352c98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/vue-imgix/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d352c98

Please sign in to comment.