clampy-js / vue-clampy

Vue.js (2+) directive that clamps the content of an element by adding an ellipsis to it if the content inside is too long.
MIT License
78 stars 9 forks source link

Consider Vue 3 support? #12

Open tatemz opened 4 years ago

tatemz commented 4 years ago

Vue 3.x is out and custom directives have changed a bit.

https://v3.vuejs.org/guide/migration/custom-directives.html#implementation-details

ayoubkhan558-zz commented 3 years ago

Any plans to upgrade?

ajobi commented 3 years ago

As this project seems to be unmaintained, you could give https://www.npmjs.com/package/vue-snip a try. It's inspired by vue-clampy and works with Vue 2 and 3. ✌️