socket.io-admin-ui icon indicating copy to clipboard operation
socket.io-admin-ui copied to clipboard

[Question] Why not Vue 3?

Open AnoRebel opened this issue 3 years ago • 5 comments

As the heading suggests, this is more of a question than an issue.

Why not use vue 3? Is it because of Vuetify(since it doesnt have a vue 3 integration yet)?

AnoRebel avatar Jun 10 '21 09:06 AnoRebel

That's a fair question, thanks! I think we mainly focused on Getting Things Done™, instead of checking whether all the dependencies (vuetify, chartjs) would work with Vue 3.

But we could totally migrate to Vue 3 in the future :+1:

darrachequesne avatar Jun 11 '21 12:06 darrachequesne

Oh, ok, cool then.. When I get time, I was thinking of creating the Vue 3 version from your code(refactor it basically). Would that be okay? I'll make a branch and a PR later after. Cant guarantee when though.

Also, I think with all the libraries used, only vuetify lacks Vue 3 support, so i'll probably use something like tailwindcss instead.

AnoRebel avatar Jun 12 '21 17:06 AnoRebel

@AnoRebel that would be awesome :+1:

darrachequesne avatar Jun 17 '21 12:06 darrachequesne

Sorry it took I while, I was kinda busy.. So the 1st iteration is at my fork on the next branch. Its not complete yet but most of it is complete. If anyone has time to test and point out stuff I missed or thats not working, would be great.

AnoRebel avatar Oct 18 '21 08:10 AnoRebel

Just FYI: Vuetify3 is not getting released soon. We have to hold our breath for months, if it continues like this with Vuetify 3 😉 Also note that Vuetify v3.1 will take even longer and only that version is feature-complete (VDataTable or VSchedule anyone?) Once it is released, I can aid in the conversion as I maintain an app in Vuetify 3 beta as well as Vuetify 2.

This UI does not use Typescript (sadly), no vee-validate (luckily) and also not vue-class-components (luckily). That will save you lots of migration efforts! I suggest changing to Typescript and changing Vuex to Pinia. It's been really nice in Pinia so far!

My Vue2 + Vuetify2 project: https://github.com/fdm-monster/fdm-monster/tree/develop/client-vue The Vue3 + Vuetify3 + Vite project with VeeValidate, Zod and Pinia: https://github.com/fdm-monster/fdm-monster-client

You can ping me here for questions, if you like.

davidzwa avatar Aug 07 '22 10:08 davidzwa