Skip to content

Commit

Permalink
chore(ix-picture): re-introduce vue-class-comp use
Browse files Browse the repository at this point in the history
  • Loading branch information
luqven committed Apr 20, 2021
1 parent 92b8e06 commit 244c540
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/plugins/vue-imgix/ix-picture.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { ensureVueImgixClientSingleton, IVueImgixClient } from './vue-imgix';
import { defineComponent, h } from 'vue';
import { h } from 'vue';
import { Vue } from 'vue-class-component';

const IxPictureProps = defineComponent({});

export class IxPicture extends IxPictureProps {
export class IxPicture extends Vue {
// Using !: here because we ensure it is set in created()
private vueImgixSingleton!: IVueImgixClient;

Expand Down

0 comments on commit 244c540

Please sign in to comment.