eclipse-leshan / leshan

Java Library for LWM2M
https://www.eclipse.org/leshan/
BSD 3-Clause "New" or "Revised" License
653 stars 407 forks source link

Migrate web demo to more recent tooling #1492

Open sbernard31 opened 1 year ago

sbernard31 commented 1 year ago

When we create the first version of demos based on vuejs (https://github.com/eclipse-leshan/leshan/pull/977), the recommended version to use was :

One day, we should migrate to more recent version of this :

Looking quickly at documentation this will not be straightforward migration.

Hoping this could improve build performance issue. (see : https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/3429#note_1199991)

From To Issue
vue-cli Vite ~https://github.com/eclipse-leshan/leshan/issues/1540~
yarn-classic Yarn 4 https://github.com/eclipse-leshan/leshan/issues/1550
Vue 2
Vuetify 2
Vue 3
Vuetify 3
sbernard31 commented 1 year ago

Maybe this could also have impact on : https://github.com/eclipse-leshan/leshan/issues/1016

sbernard31 commented 11 months ago

About migrating from vue-cli to vite:

sbernard31 commented 11 months ago

Trying to move from vue-cli to vite and didn't succeed for now.

Also disover that Vue 2 will reach End of Life (EOL) on December 31st, 2023. And I didn't really get what is HeroDevs’ NES (Never-Ending Support) for Vue 2.

Note that vuetify 2 is only compatible with vue2 and vuetify 3 is only compatible with vue3 (so both should be migrate together) vite should works with both.

sbernard31 commented 11 months ago

I created dedicated issue about migrating from vue-clito vite : https://github.com/eclipse-leshan/leshan/issues/1540

sbernard31 commented 11 months ago

I create dedicated issue about migration from yarn-classic to yarn stable (4) : https://github.com/eclipse-leshan/leshan/issues/1550