light-client icon indicating copy to clipboard operation
light-client copied to clipboard

Upgrade to Vue 3

Open palango opened this issue 4 years ago • 1 comments

Description

~~We're still using webpack 4.0, while 5.0 is available.~~

~~Certain plugins start requiring webpack 5, like https://github.com/webpack-contrib/source-map-loader/releases/tag/v2.0.0~~

~~webpack is not a direct dependency, and seems to be pulled by @vue/cli-service, so we might need to update vue to fix this.~~

Webpack 5 was enabled by Vue-Cli 5, which supports both Vue2 and Vue3. This issue now is only about migration to Vue3, which may involve converting large parts of the dApp code, and migrating the framework to vuetify@3.

Resources

  • https://v3-migration.vuejs.org/

Acceptance criteria

  • [x] CI and build work as before
  • [ ] UI codebase uses Vue3 and Composition API

Tasks

  • [ ] Update to Vue3

Why do this?

Vue3 has been out for a long time and there might be risk involved to stick with Vue2 and stay behind.

palango avatar Jan 04 '21 17:01 palango

Vue-cli 5 and Wepack 5 were upgraded in #3128

andrevmatos avatar May 27 '22 15:05 andrevmatos