vectre icon indicating copy to clipboard operation
vectre copied to clipboard

Vue 3 Compatibility

Open jwing8 opened this issue 3 years ago • 2 comments

It appears this package is no longer being actively maintained, but I was hoping to see how I can use it with a Vue 3 app?

jwing8 avatar Nov 09 '21 13:11 jwing8

Hello @jwing8. The current version (1.1.0) is not compatible with Vue 3 due to breaking changes in the framework api (especially it affects form components).

You can check next branch. There you will find the current work on compatibility with vue 3. I have not tried to do this for a long time, waiting for the new version of the framework to become more mature and when there are good examples of using the Composition API.

Almost all components are migrated and compatible, the documentation has been updated. But I need some time to check everything again and prepare the release. Hopefully I can take the time to finish this.

Thank you for your interest!

vatson avatar Nov 11 '21 12:11 vatson

Btw, I tried to keep the component API unchanged (only in a few places it differs slightly due to the difference in slot behavior). So the migration existing projects based on Vectre should be easy

Also, tsx wrappers will be dropped and compatibility with editors will be increased (working auto-completion!)

vatson avatar Nov 11 '21 12:11 vatson