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

Update Vuejs version from 2 to 3 #828

Open
jgribonvald opened this issue Oct 13, 2021 · 4 comments
Open

Update Vuejs version from 2 to 3 #828

jgribonvald opened this issue Oct 13, 2021 · 4 comments
Labels
dependencies Pull requests that update a dependency file hacktoberfest

Comments

@jgribonvald
Copy link
Contributor

jgribonvald commented Oct 13, 2021

Upgrading VueJS WebComponents from v2 to v3 would be needed on these subprojects:

  • api-template-vue
  • content-carousel
  • esco-content-menu
  • eyebrow-user-info
  • sidebar-nav
  • user-profile-menu
  • dashboard-carousel
  • content-renderer
@jgribonvald jgribonvald added hacktoberfest dependencies Pull requests that update a dependency file labels Oct 13, 2021
@ChristianMurphy ChristianMurphy changed the title Vuejs version update Update Vuejs version from 2 to 3 Dec 7, 2021
@ChristianMurphy
Copy link
Member

Copying over some insights from @jgribonvald on Slack.

Hi folks, just to provide a feedback it seems that migrating WC developped with vuejs 2 to vuejs 3 isn't available now, some parts (slot and style management) are missing and it's not on the priorities ! see here for details: vuejs/vue-web-component-wrapper#93
I wonder if there isn't easy way to migrate to something like Lit Element ?

@ChristianMurphy
Copy link
Member

I'm hopeful that Vue may offer a migration path for web components to version 3.
In the case isn't an option, some of the lighter elements could maybe be dropped into plain custom element.
Several have enough state, that a library/framework could help some.

Again @jgribonvald provided a handy link for this

https://webcomponents.dev/blog/all-the-ways-to-make-a-web-component/

of the frameworks listed, several look particularly promising.

@jgribonvald
Copy link
Contributor Author

Somes are promising, but keep in mind that Web-Component are small elements, and so they should stay very light !

Lit 2.0 provide a good comprise.

@jgribonvald
Copy link
Contributor Author

#919 provide a conversion of the esco-content-menu from vueJS to Lit 2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants