Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue3 support #40

Open
eboye opened this issue Mar 11, 2021 · 9 comments
Open

Vue3 support #40

eboye opened this issue Mar 11, 2021 · 9 comments

Comments

@eboye
Copy link

eboye commented Mar 11, 2021

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?

@ts1
Copy link
Owner

ts1 commented Mar 11, 2021

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!

@eboye
Copy link
Author

eboye commented Mar 11, 2021

@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 😄

@admix85
Copy link

admix85 commented Apr 6, 2022

Any update about vue 3 support?
I really like your library, but i need it for a vue 3 project

@ts1
Copy link
Owner

ts1 commented Apr 7, 2022

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.

@M3skar
Copy link

M3skar commented Jun 3, 2022

this could help https://github.com/vueuse/vue-demi
it makes it easy to support both Vue2 & Vue3

@ts1
Copy link
Owner

ts1 commented Jun 3, 2022

@M3skar Thanks!! I'll give it a try!

@lolik9l
Copy link

lolik9l commented Jul 20, 2022

@ts1 Did you manage to try? I would really like to use your library on Vue3

@ts1
Copy link
Owner

ts1 commented Jul 20, 2022

@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.

@ts1
Copy link
Owner

ts1 commented Aug 13, 2022

I released 1.0.0-alpha, which supports Vue 3 by default.
For Vue 2, use import Flipbook from 'flipbook-vue/vue2'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants