-
Notifications
You must be signed in to change notification settings - Fork 220
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
change index.js (createApp), ondestroy, emits #267
Conversation
@bzd2000 This will keep the Vue v2 working? |
close svg it was added in the commit 27d5ade on Feb 10 |
You should use "pnpm" instead of "npm" (both have the same interface, same options and commands) at least for development purposes |
I am going to start a fresh v3 project and then add the components and the assets. I think it is the best way to go. |
Combination vue2 and vue3 is not easy ( a lot of projects tried but always created a separate vue3 branch) |
Indeed fresh vue3 will be best. |
anyway I don't think there is a lot of code change needed |
I mean that there is code that maintenance is becoming harder and harder, so I want to clean it up a little. |
I have been reading and we may have to create a new version for vue3. So I am going to import the repository in a new one. I let you know once I have spoken with the team. |
Do you want to became a part of the team? |
We may be can have the two components in the same package, I mean the vue3 version and the vue2... although is not very "performant" right? |
I would do the following:
I'm available to help on your project |
Hi,
Here is a first attempt to migrate to vue 3 (#213)
Basically:
Changed index.js to use createApp
add emits for emitted events.
changed destoryed to unmounted
upgraded packages to vue 3
There is an issue with not able to load close.svg when I used it in a fresh vue 3 project.
But it is also an issue with the vue2 version.
(seems not to be packed, probably the way it has been defined img src="@/assets/images/close.svg" alt="x")
Some tests are failing due to import statements not working. But that is also to the case for the vue2 version.
besides that, it seems to work for a vue3 project without having tested all the options