Comments (5)
FYI there's https://github.com/vueuse/vue-demi.
You can support both vue 2 and 3 using that. Renderless components.
Example implementation https://github.com/wobsoriano/vue-winbox/
from mijin.
README has been updated to specify the currently supported version
Unfortunately, Vue 3 $listeners
doesn't exist anymore (merged with $attrs
). Form components like input
or select
rely on $listeners
to operate and I could not find yet a way to make it work on both Vue 2 and 3.
If it can't be done, a solution is to create a next
branch dedicated to supporting Vue 3 in parallel.
Regardless, most of the components work directly on Vue 2 and Vue 3 by dropping the functional
component attribute.
from mijin.
Hi there,
Thank you for your message.
Currently, this library is only compatible with Vue 2.0.
As Vue 3.0 is now available, I would like to focus on supporting it for the next feature.
It would be relatively simple to migrate (remove functional templates, use composition API, etc) but I can not provide a release date yet.
Meanwhile, the README can be updated to clarify that only Vue 2.0 is currently supported.
from mijin.
Hello, thank you for your quick response.
If you know a way to support Vue 3 without dropping the Vue 2 support, let me know and I can help you with that.
from mijin.
@wobsoriano Thank you for your suggestion, along with an implementation example 👍
Using vue-demi will add a dependency to the project that I would like to avoid.
from mijin.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mijin.