nextcloud-libraries / nextcloud-vue

🍱 Vue.js components for Nextcloud app development ✌ https://npmjs.org/@nextcloud/vue
https://nextcloud-vue-components.netlify.app/
Other
215 stars 85 forks source link

Migrate to Vue 3 #2154

Closed raimund-schluessler closed 10 months ago

raimund-schluessler commented 3 years ago

This issue exists to track the migration towards Vue 3.

There are multiple things that should be done before any migration can take place. They won't break compatibility with Vue 2, but will help with the later migration towards Vue 3.

Preparations:

Actual migration to Vue 3 #3692:

juliusknorr commented 3 years ago

https://github.com/robcresswell/vue-material-design-icons/issues/230 might be a possible blocker as functional components are used there and are incompatible according to https://v3.vuejs.org/guide/migration/migration-build.html#incompatible

Pytal commented 3 years ago

Since we're using vue-ripple-directive for the Button component https://github.com/nextcloud/nextcloud-vue/pull/1808, linking this issue https://github.com/PygmySlowLoris/vue-ripple-directive/issues/32 for future reference 🖖

robcresswell commented 3 years ago

@juliushaertl Heh, I can see my slowness updating this is causing issues. I have a free weekend, I'll get this fixed. I was quite amazed to see nextcloud using my little plugin, that was nice 😊

dartcafe commented 2 years ago

I would like to bumb this issue. At least for the app developers it would be a valuable information, if any roadmap exists or will be released, since the migration of most NC apps will not be done in a sprint. There might some more repos affected, like https://github.com/nextcloud/webpack-vue-config.

The blocker of https://github.com/robcresswell/vue-material-design-icons/issues/230 seems to be removed.

robcresswell commented 2 years ago

Yes! Sorry, I didn't update here. My lib supports Vue 3 now. Apologies again for holding you up.

raimund-schluessler commented 2 years ago

I updated the original issue https://github.com/nextcloud/nextcloud-vue/issues/2154#issue-958099601 to sketch a possible migration path to Vue 3. Feel free to update and adjust.

zak39 commented 10 months ago

Hi :wave:

I ask for news :slightly_smiling_face: Is the migration to vue3 going well?

raimund-schluessler commented 10 months ago

Hi 👋

I ask for news 🙂 Is the migration to vue3 going well?

There is one final PR pending, see https://github.com/nextcloud-libraries/nextcloud-vue/pull/4842. If this is merged we could aim for an alpha release of nextcloud/vue with vue 3 support.

raimund-schluessler commented 10 months ago

The last component was migrated with #4976.