PeachScript / vue-infinite-loading

An infinite scroll plugin for Vue.js.
https://peachscript.github.io/vue-infinite-loading/
MIT License
2.66k stars 366 forks source link

Vue 3 support #299

Closed asafyish closed 3 years ago

asafyish commented 3 years ago

Hi,

Vue 3 is out for several weeks now, is there a plan to support it ?

samuveth commented 3 years ago

Any progress here?

hoomb commented 3 years ago

+1

rafaelmagalhaes commented 3 years ago

has anyone managed to use it with the composition api

nVitius commented 3 years ago

I worked on this a bit today: https://github.com/nVitius/vue-infinite-loading/tree/next

I haven't tested everything but the core functionality at least is working. I didn't try running the tests, but I'm pretty sure they aren't valid anymore.

I switched webpack out for rollup and used this project to configure the build process.

Until this is merged, you should be able to install it with npm like this: npm i --save github:nvitius/vue-infinite-loading#next

Usage is the same as before.

joaomirandas commented 3 years ago

+1

wobsoriano commented 3 years ago

You can use this inside a Vue 3 app via https://github.com/privatenumber/vue-2-3

Here's a working example https://codesandbox.io/s/vue3-infinite-loading-63rqj

https://github.com/wobsoriano/vue3-infinite-loading

productdevbook commented 3 years ago

https://github.com/PeachScript/vue-infinite-loading/issues/313#issuecomment-871106685