hilongjw / vue-lazyload

A Vue.js plugin for lazyload your Image or Component in your application.
http://hilongjw.github.io/vue-lazyload/
MIT License
8.01k stars 868 forks source link

feat: vue3 support #455

Open caozhong1996 opened 3 years ago

caozhong1996 commented 3 years ago

Dear author of the vue-lazyload, I've been using this library for a long time,thanks a lot! 亲爱的vue-lazyload作者,我使用这个库很长时间了,万分感谢!

Vue 3.0 has been officially released for a long time, However, vue-lazyload was not updated in time. Vue3.0已经正式发布很长的时间了,然而vue-lazyload并没有及时更新。

Because of this, I made Vue3.0 adaptation for vue-lazyload -- vue-lazyload-next. 因此,我为vue-lazyload做了Vue3.0的适配 -- vue-lazyload-next

such as ts, compositon api, es6, and so on. 例如: ts, compositon api, es6,等等。

Considering the huge changes in Vue3.0, I hope you can create a ”next“ branch for Vue3.0. 鉴于vue3.0的巨大改动,希望您能专门为Vue3.0创建一条 next 分支。

I'd be happy to contribute my code if I could. 如果可以的话,我非常乐意贡献我的代码。

Wish you a happy Spring Festival in advance. 提前预祝您春节愉快。

sanfengliao commented 3 years ago

I have some ideas, if I can, I would also like to contribute my code 我有一些想法,如果可以的话,我也想贡献我的代码

dota17 commented 3 years ago

hilongjw has created the next branch,Welcome everyone to contribute in the form of MR. @caozhong1996 @sanfengliao

dota17 commented 3 years ago

I made some simple modifications to make lazyload support vue3. The next step should be to refactor our code with composition api and ts.

caozhong1996 commented 3 years ago

I made some simple modifications to make lazyload support vue3. The next step should be to refactor our code with composition api and ts.

Great. I'm working on that. 太好了,我正在为此工作。

ayoubkhan558-zz commented 3 years ago

Please update it to latest vuejs v3 + TypeScript

KayVeeCodes commented 3 years ago

Any news about vue 3 support?

doutatsu commented 3 years ago

Bump

adelura commented 2 years ago

Anybody is aware of any fork that supports Vue 3 or alternative libraries?