-
Notifications
You must be signed in to change notification settings - Fork 896
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
Vue3 Migration #4428
Vue3 Migration #4428
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't done any testing or a proper code review yet.
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
a8f74a2
to
3828cea
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
Refreshing subscriptions errors in |
The build warnings can be fixed by removing the
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Notes for these new constants (global feature flags)
https://github.com/vuejs/core/blob/v3.3.11/packages/vue/README.md#bundler-build-feature-flags
_scripts/webpack.main.config.js
Outdated
'__VUE_PROD_DEVTOOLS__': true, | ||
'__VUE_OPTIONS_API__': true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To add back the fade transition, you will need to rename the CSS class in the App.css file as mentioned here: https://v3-migration.vuejs.org/breaking-changes/transition.html#migration-strategy
As I can't leave comments on unchanged files, here is the code diff for the App.ccs file:
- .fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
+ .fade-enter-from, .fade-leave-to {
opacity: 0;
}
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Co-authored-by: absidue <[email protected]>
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
This PR would be a good starting point to look at when creating a Vue migration PR but this is not something that I would want to maintain at this time so I will be closing this |
Thanks for the effort you did put into this @ChunkyProgrammer, as it is very good. Whenever you have the time to answer, would you be comfortable sharing the remaining (potential) challenges with a Vue 3 Migration as you understand it that were not covered in this PR, and are not already included in this chore card? I guess I'm wondering if having this for v0.23 would be a feasible landmark in our roadmap. |
Vue3 Migration
Pull Request Type
Description
This PR migrates FreeTube to Vue3. From what I can tell, this mostly works but I'd like to do some more investigation and testing (hence the draft PR). I might close this PR if I don't have enough time to fix it but the existing code should be useful for anyone who wishes to take a stab at the vue 3 migration
upgrade vue to 3.3.10
upgrade vue-i18n to 9.8.0
upgrade vue-observe-visibility to 2.0.0-alpha.1
upgrade vue-router to 4.2.5
upgrade vuex to 4.1.0
Screenshots
Testing
Desktop