Repository navigation
Migrate to Vue 3 #6663
Copy link
Copy link
Closed
Description
Activity
- moved this to 🧭 Planning evaluation (don't pick) in 📝 Productivity team
on Jan 16, 2025 Added a PR list to the first post @grnd-alt
- moved this from 🧭 Planning evaluation (don't pick) to 📄 To do (~10 entries) in 📝 Productivity team
on Jan 21, 2025 - moved this from 📄 To do (~10 entries) to 🏗️ In progress in 📝 Productivity team
on Mar 19, 2025 How to migrate
possible before changing to vue3
- migrate all stores away from vuex to pinia (see introduce first pinia store #7790 for example and plan)
- migrate to nextcloud-eslint-config@9
do after installing vue3
- migrate <var.sync> to v-model:
- migrate away from @.native
- list emited events of components in emits
- migrate beforeDestroy -> beforeUnmount
- migrate away from propsData
- Audit codebase for $listeners, $children, $scopedSlots usage
- Audit for filters usage
- Find/build replacements for Vue 2-only deps below
Dependencies
Vue 2-Only Dependencies
Package Issue Replacement vue-atVue 2 only Find Vue 3 alternaitve vue-click-outsideVue 2 only Use @vueuse/coreonClickOutsidevue-easymdeVue 2 only vue3-easymdeor integrate EasyMDE directlyvue-infinite-loadingAbandoned, Vue 2 @vueuse/coreuseInfiniteScrollvue-smooth-dndVue 2 only vue3-smooth-dndorvuedraggable@nextvuex-router-syncVuex only Not needed with pinia (use composable) Version Bumps Required
Package Current Vue 3 Version vue^2.7.15 ^3.x vue-router^3.6.5 ^4.x vuex^3.6.2 use Pinia vue-template-compiler^2.7.16 Remove → @vue/compiler-sfc@vue/vue2-jest^29.2.6 @vue/vue3-jest- moved this from 📄 To do (~10 entries) to 🏗️ In progress in 📝 Productivity team
on Jul 9, 2026 completed with #8276
Metadata
Metadata
Assignees
Type
Projects
- StatusShow more project fields☑️ Done
Steps might need to be refined:
Further reference
PR list