-
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
Closed
ChunkyProgrammer
wants to merge
56
commits into
FreeTubeApp:development
from
ChunkyProgrammer:vue3-test
Closed
Vue3 Migration #4428
Changes from 6 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
8c44ca9
test: freetube running with vue3
ChunkyProgrammer cf3b6fd
use webhashhistory, set new locale properly, move all emits to js file
ChunkyProgrammer b60f1b3
fix input ids not being properly set
ChunkyProgrammer 3828cea
Use vue/dist/vue.runtime.esm-bundler.js when running electron
ChunkyProgrammer 5007229
handle route changes properly, fix formatNumber, don't use vueSet and…
ChunkyProgrammer 0cf98bf
merge latest changes
ChunkyProgrammer 8abd2c5
fix fade transition
ChunkyProgrammer 743a950
Merge branch 'development' into vue3-test
ChunkyProgrammer 233f115
update vue to latest version
ChunkyProgrammer 959f82a
Merge branch 'development' into vue3-test
ChunkyProgrammer 9751bc3
fix rss view counts
ChunkyProgrammer 82e89a9
Merge branch 'development' into vue3-test
ChunkyProgrammer 9063747
update vue to latest version
ChunkyProgrammer ec56657
Merge branch 'development' into vue3-test
ChunkyProgrammer 1a882c7
Merge branch 'development' into vue3-test
ChunkyProgrammer 8659877
update vue packages to latest version
ChunkyProgrammer 92cc2f0
Merge branch 'development' into vue3-test
ChunkyProgrammer e06d834
remove vueSet
ChunkyProgrammer 2cb9851
update vue version, fix some vue compatibility warnings
ChunkyProgrammer 8d9ec47
fix minor issues
ChunkyProgrammer 321ae9c
Merge branch 'development' into vue3-test
ChunkyProgrammer 1e356c1
Merge branch 'development' into vue3-test
ChunkyProgrammer 6d049e6
update to latest version of vue, fix bugs when interating with font-a…
ChunkyProgrammer 0ea6632
Merge branch 'development' into vue3-test
ChunkyProgrammer 8fc968e
Merge branch 'development' into vue3-test
ChunkyProgrammer b0828b7
Merge branch 'development' into vue3-test
ChunkyProgrammer 00ebe9e
Merge branch 'development' into vue3-test
ChunkyProgrammer a1563f8
update vue to latest version
ChunkyProgrammer db59054
Remove vue config from main process
ChunkyProgrammer 6c3cb8b
Merge branch 'development' into vue3-test
ChunkyProgrammer df75812
Apply suggestions from code review
ChunkyProgrammer e9b4215
don't set locale message if error occurs
ChunkyProgrammer d66537e
Merge branch 'vue3-test' of https://github.com/ChunkyProgrammer/FreeT…
ChunkyProgrammer 8e7a6b2
Merge branch 'development' into vue3-test
ChunkyProgrammer 620dab4
use null instead of false for observe-visibility
ChunkyProgrammer 852a113
update vue to latest version
ChunkyProgrammer 4119389
Merge branch 'development' into vue3-test
ChunkyProgrammer 196dd33
Merge branch 'development' into vue3-test
ChunkyProgrammer 5f4d485
update vue-router to latest
ChunkyProgrammer 31e1421
Merge branch 'development' into vue3-test
ChunkyProgrammer f0ad46d
add new events to emits array
ChunkyProgrammer 2380f58
Merge branch 'development' into vue3-test
ChunkyProgrammer 09942e9
update vue dependencies
ChunkyProgrammer 393e995
Merge branch 'development' into vue3-test
ChunkyProgrammer aa0bf8c
Merge branch 'development' into vue3-test
ChunkyProgrammer 06c1a50
Merge branch 'development' into vue3-test
ChunkyProgrammer 9ad5cfd
fix bug in translating window titles
ChunkyProgrammer 410d39e
set v-observe-visibility to null instead of false
ChunkyProgrammer e50568b
Merge branch 'development' into vue3-test
ChunkyProgrammer 9bf15f3
Merge branch 'development' into vue3-test
ChunkyProgrammer 6f6de87
remove ft-card changes since they're no longer needed
ChunkyProgrammer 9950fa6
Merge branch 'development' into vue3-test
ChunkyProgrammer d79aa8e
remove unneeded vue alias
ChunkyProgrammer d98a96a
Merge branch 'development' into vue3-test
ChunkyProgrammer 7b95c84
Merge branch 'development' into vue3-test
ChunkyProgrammer ed8cc74
update packages
ChunkyProgrammer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ const path = require('path') | |
const { readFileSync } = require('fs') | ||
const webpack = require('webpack') | ||
const HtmlWebpackPlugin = require('html-webpack-plugin') | ||
const VueLoaderPlugin = require('vue-loader/lib/plugin') | ||
const { VueLoaderPlugin } = require('vue-loader') | ||
const MiniCssExtractPlugin = require('mini-css-extract-plugin') | ||
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin') | ||
const ProcessLocalesPlugin = require('./ProcessLocalesPlugin') | ||
|
@@ -115,6 +115,8 @@ const config = { | |
plugins: [ | ||
processLocalesPlugin, | ||
new webpack.DefinePlugin({ | ||
'__VUE_PROD_DEVTOOLS__': true, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this only be set to |
||
'__VUE_OPTIONS_API__': true, | ||
'process.env.IS_ELECTRON': true, | ||
'process.env.IS_ELECTRON_MAIN': false, | ||
'process.env.LOCALE_NAMES': JSON.stringify(processLocalesPlugin.localeNames) | ||
|
@@ -147,7 +149,7 @@ const config = { | |
], | ||
resolve: { | ||
alias: { | ||
ChunkyProgrammer marked this conversation as resolved.
Show resolved
Hide resolved
|
||
vue$: 'vue/dist/vue.runtime.esm.js', | ||
vue$: 'vue/dist/vue.runtime.esm-bundler.js', | ||
|
||
'youtubei.js$': 'youtubei.js/web', | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"vueCompilerOptions": { | ||
"target": 2.7 | ||
"target": 3.0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
import { defineComponent } from 'vue' | ||
|
||
export default defineComponent({ | ||
name: 'FtCard' | ||
name: 'FtCard', | ||
emits: ['focusout'], | ||
methods: { | ||
focusOut: function () { | ||
this.$emit('focusout') | ||
} | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<template> | ||
<div | ||
class="ft-card" | ||
@focusout="$emit('focusout')" | ||
@focusout="focusout" | ||
> | ||
<slot /> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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