Closed jdflaugergues closed 2 years ago
The decision has been made to deprecate vue-sfc-rollup
in favor of better tooling in the Vue ecosyste, specifically the vite "library build" configuration. It is an excellent project, which is capable of everything vue-sfc-rollup strived to accomplish, and more.
Hi,
I'm trying to use vue-sfc-rollup to build my own vuejs 3 library component with typescript but I've some issues. I have created a simple component with an input and a validation (with vee-validate), I build my project library and imported it in my main Vuejs web app project, but it doesn't work well.
Indeed, events with watchEffect are not emmited to parent component and validation from vee-validate not working. If I use exactly the same component in my own project it works, this is why I think there is a issue during the building project.
I have tried the composant with and without script setup but I have got the same error. Here is the source of my project : https://github.com/jdflaugergues/vue-lib
Package.json Rollup Config The component
Thanks for your help.