lian-yue / vue-upload-component

Vue.js file upload component, Multi-file upload, Upload directory, Drag upload, Drag the directory, Upload multiple files at the same time, html4 (IE 9), `PUT` method, Customize the filter
Apache License 2.0
2.69k stars 697 forks source link

feat(FileUpload): Add @vue/compat configuration to vue 3 #456

Closed fanta759 closed 2 months ago

sgloe commented 2 months ago

This would definitely help!

sgloe commented 2 months ago

@lian-yue To clarify here: We need this, when you have @vue/compat running in MODE: 2 for the whole application. Your vue-upload-component is already Vue3 ready and in Compat MODE 2, we need to explicitly define the components, that are ready for 3. Otherwise the v-model does not work and files does not get updated in the parent component. Would be nice if we can see this merge in the next release, because your component is awesome and helps me and many others alot! :)

A not working examplge with Bootsrap-Vue in Compat Mode

sgloe commented 2 months ago

Great! Thanks all!

sgloe commented 2 months ago

@lian-yue Can you create a release or Tag with a new version for us?

lian-yue commented 2 months ago

https://www.npmjs.com/package/vue-upload-component/v/3.1.17 https://github.com/lian-yue/vue-upload-component/tree/v3.1.17

@sgloe