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

Support Vue 3 #666

Open
9 tasks
Isokaeder opened this issue Sep 12, 2022 · 0 comments
Open
9 tasks

Support Vue 3 #666

Isokaeder opened this issue Sep 12, 2022 · 0 comments
Labels
priority:3-normal Should be fixed soon scope:build Affects the build system scope:ci scope:documentation Affects the documentation type:refactor

Comments

@Isokaeder
Copy link
Collaborator

Isokaeder commented Sep 12, 2022

Preparation in Vue 2:

  • update to Vue Naruto (Vue 2.7+)
    • update to latest @vue/composition-api
  • Investigate 3rd party library support
  • remove legacy slots (see eslint rules below)
  • replace ::v-deep with :deep()
  • replace v-model value @input with modelValue @update:modelValue
  • explicitly declare emits for all components (vue/require-explicit-emits)

Necessary Steps for Vue 3

  • element-plus instead of element-ui
  • build system adjustments

Here be dragons

  • KtTable
  • KtFieldDate*

Helpful eslint rules

"vue/no-deprecated-slot-scope-attribute": "error",
"vue/no-deprecated-slot-attribute": "error",
"vue/no-deprecated-dollar-scopedslots-api": "error",
"vue/require-explicit-emits": "error",
"vue/v-slot-style": "error",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:3-normal Should be fixed soon scope:build Affects the build system scope:ci scope:documentation Affects the documentation type:refactor
Projects
None yet
Development

No branches or pull requests

1 participant