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

Vue 2 support #46

Closed
quank123wip opened this issue Jun 24, 2021 · 6 comments
Closed

Vue 2 support #46

quank123wip opened this issue Jun 24, 2021 · 6 comments

Comments

@quank123wip
Copy link
Contributor

As there is a bunch of projects using vue 2 and it's a long journey to migrate to vue 3, it would be nice to support vue 2, as it's tiring to include both vue 2 and vue 3 instance in one project, and I think it's not elegant to use vanilla javascript in vue 2 project.

@Saul-Mirone
Copy link
Member

Vue2 can use this project simply via $ref, it's very easy.

@quank123wip
Copy link
Contributor Author

But Vue 2 have no custom component support out of box as far as I know. Is there something right there I don't know? If it isn't, do you have a plan to support it

@Saul-Mirone
Copy link
Member

I don't have plan for it right now, there are still so many works to do.
Maybe I'll consider to support more UI frameworks after finish core abilities, but now is not a good time I think.
However, support the custom component is not so hard, I think you can have a try if really you really need that.

@quank123wip
Copy link
Contributor Author

I'm trying to understand the vue 3.0 package now, if I can, I'll try to write a vue 2.0 component support and make a PR. Thanks for your help!

@Saul-Mirone
Copy link
Member

You can also create your own package and I'll mention it in awesome-milkdown if you want.
I think vue2 will use .vue file and may not use typescript, so the build and dev pipeline maybe totally different.

@Saul-Mirone
Copy link
Member

Closed for no new message for days.

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

2 participants