flipbook-vue
flipbook-vue copied to clipboard
Vue3 support
Hi,
I just stumbled on your library and I really like it, but as I'm working on a project in Vue3 it breaks when I try to add it via npm.
Are you planning on supporting Vue3 anytime soon?
Hi, I will try to support this someday, but I can't say exactly when. If there is any progress, I will report it in this issue!
@ts1 OK, thanks. I would try to make the changes needed for Vue3, but coffeescript is not my thing ... I would need to learn it first 😄
Any update about vue 3 support? I really like your library, but i need it for a vue 3 project
I would love to support Vue 3, but I don't exactly figure out how. From a quick test, it appears that no changes are required to the component itself. It seems to be just a packaging issue.
this could help https://github.com/vueuse/vue-demi it makes it easy to support both Vue2 & Vue3
@M3skar Thanks!! I'll give it a try!
@ts1 Did you manage to try? I would really like to use your library on Vue3
@lolik9l Yes, I'm trying.
I could not get Vue Demi to work as I expected, then tried vue-cli-service build --library
, which resulted a huge chunk of unnecessary code, so I'm trying to use rollup
to build multiple versions of dist js.
The only problem left is how to manage two versions of npm package.
I released 1.0.0-alpha, which supports Vue 3 by default.
For Vue 2, use import Flipbook from 'flipbook-vue/vue2'
.