Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration to Vue 3 Overview #264

Open
3 of 18 tasks
onmax opened this issue Mar 17, 2025 · 0 comments
Open
3 of 18 tasks

Migration to Vue 3 Overview #264

onmax opened this issue Mar 17, 2025 · 0 comments

Comments

@onmax
Copy link
Member

onmax commented Mar 17, 2025

I think we can start defining the path of migration and what steps need to be taken towards migrating the codebase to Vue 3.

In this issue we can define the progress and steps we need to take. Not all of the steps are fully necessary but they are nice to have.

There are 3 phases to the project: "Before migrating to Vue 3.0.0", "Switching to Vue 3.0.0" and "Clean up and Vue 3.5.0"

Before migrating to Vue 3.0.0

Switching to Vue 3.0.0

Then:

  1. Test that everything works
  2. Re-test that everything works
  3. Go to step 1

Clean up and enhancements

This section maybe is not necessary

  • Move everything to setup composition api
  • Upgrade Eslint to v9 with Flat config
    • Force the definition of props and emits via types defineProps<{ prop: string[] }>() instead of defineProps({ prop:{ type: Array as PropType<string[]>, required: true })
  • Consume useRouter directly. Remove the useRouter in router.ts
  • Consume nextTick directly. Remove the proxy nextTick.
  • Update to Vue 3.5.0
  • Use useTemplateRef(?)

This list is highly opinionated, but feel free to edit/add/remove items. Once we have a clear path, we can start taking small steps towards Vue 3 :)

sisou added a commit that referenced this issue Mar 17, 2025

Verified

This commit was signed with the committer’s verified signature.
sisou Sören Schwert
currentRoute becomes a ref in v4 (Vue3), so better to standardize it with useRoute()

Refers to #264.
sisou added a commit that referenced this issue Mar 17, 2025

Verified

This commit was signed with the committer’s verified signature.
sisou Sören Schwert
currentRoute becomes a ref in v4 (Vue3), so better to standardize it with useRoute()

Refers to #264.
sisou added a commit that referenced this issue Mar 20, 2025

Verified

This commit was signed with the committer’s verified signature.
sisou Sören Schwert
currentRoute becomes a ref in v4 (Vue3), so better to standardize it with useRoute()

Refers to #264.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant