You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Mai Nguyen <ho...@ext.ewerk.com> on 2021/09/06 01:57:52 UTC

[DISCUSS] Upgrade to Vue3 library

Hi All,

We are upgrading a Vue 2 application to Vue 3 on CloudStack. As far as our investigation goes, Vue 3 does support migration from Vue 2 to Vue 3 by using `@vue/compat` (aka "the migration build"). However, it is worth mentioning that there are some incompatible features (please refer to: https://v3.vuejs.org/guide/migration/migration-build.html#overview).
The biggest differences between Vue 2 and Vue 3 on Cloudstack are:
- mount: https://v3.vuejs.org/guide/migration/mount-changes.html#overview
- Slots: https://v3.vuejs.org/guide/component-slots.html#slots
- Async components: https://v3.vuejs.org/guide/migration/async-components.html#async-components
- Events: https://v3.vuejs.org/guide/migration/events-api.html#overview
- Watch: https://v3.vuejs.org/guide/migration/watch.html#overview

In order to make them compatible with Vue 3, it is necessary to upgrade or replace some libraries as well as some other components, which are listed below:
- Antd: https://2x.antdv.com/components/overview
- Router: https://next.router.vuejs.org/installation.html
- I18n: https://vue-i18n.intlify.dev/introduction.html
- Clipboard: https://www.npmjs.com/package/vue3-clipboard
- Vue-ls (https://www.npmjs.com/package/vue-ls) => vue-web-storage (https://github.com/ankurk91/vue-web-storage)

These upgrades and replacements will require changes in source code, structure and elements in UI. We would like to have your opinions about it.

Thank you and best regards,

__

Mai Nguyen
Frontend Developer

EWERK DIGITAL GmbH
Brühl 24, D-04109 Leipzig
P
F +49 341 42649 - 98
hoang.nguyen@ext.ewerk.com
www.ewerk.com

Geschäftsführer:
Dr. Erik Wende, Hendrik Schubert, Tassilo Möschke
Registergericht: Leipzig HRB 9065

Support:
+49 341 42649 555

Zertifiziert nach:
ISO/IEC 27001:2013
DIN EN ISO 9001:2015
DIN ISO/IEC 20000-1:2018

ISAE 3402 Typ II Assessed

EWERK-Blog<https://blog.ewerk.com/> | LinkedIn<https://www.linkedin.com/company/ewerk-group> | Xing<https://www.xing.com/company/ewerk> | Twitter<https://twitter.com/EWERK_Group> | Facebook<https://de-de.facebook.com/EWERK.Group/>


Auskünfte und Angebote per Mail sind freibleibend und unverbindlich.

Disclaimer Privacy:
Der Inhalt dieser E-Mail (einschließlich etwaiger beigefügter Dateien) ist vertraulich und nur für den Empfänger bestimmt. Sollten Sie nicht der bestimmungsgemäße Empfänger sein, ist Ihnen jegliche Offenlegung, Vervielfältigung, Weitergabe oder Nutzung des Inhalts untersagt. Bitte informieren Sie in diesem Fall unverzüglich den Absender und löschen Sie die E-Mail (einschließlich etwaiger beigefügter Dateien) von Ihrem System. Vielen Dank.

The contents of this e-mail (including any attachments) are confidential and may be legally privileged. If you are not the intended recipient of this e-mail, any disclosure, copying, distribution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system. Thank you.