You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you updated Vue FilePond, FilePond, and all plugins?
I have updated FilePond and its plugins
Describe the bug
To fix #122 vue-filepond v6.0.3 introduced a change to replace: import Vue from 'vue'
with: import Vue from 'vue/dist/vue.esm';
Unfortunately this fix breaks the usage of vue-filepond under vite. It causes Vite to include a complete new copy of Vue, which basically re-introduces exactly the problem that #122 was trying to solve ("$attrs is readonly")
The workaround is just to go back to v6.0.2 under Vite. I'm not knowledgeable enough to know how to make a change that will work under both vue-clie(/webpack) and Vite; but hopefully this will help someone in future.
Reproduction
Try to use vue-filepond with vue2 and vite
Environment
- Device: Windows PC
- OS: Windows
- Browser: any
- Vue version: 2.6.14
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Have you updated Vue FilePond, FilePond, and all plugins?
Describe the bug
To fix #122 vue-filepond v6.0.3 introduced a change to replace:
import Vue from 'vue'
with:
import Vue from 'vue/dist/vue.esm';
Unfortunately this fix breaks the usage of vue-filepond under vite. It causes Vite to include a complete new copy of Vue, which basically re-introduces exactly the problem that #122 was trying to solve ("$attrs is readonly")
The workaround is just to go back to v6.0.2 under Vite. I'm not knowledgeable enough to know how to make a change that will work under both vue-clie(/webpack) and Vite; but hopefully this will help someone in future.
Reproduction
Try to use vue-filepond with vue2 and vite
Environment
The text was updated successfully, but these errors were encountered: