0
0
Fork 0
mirror of https://github.com/VueTubeApp/VueTube synced 2024-11-26 21:23:02 +00:00

Merge pull request #175 from PickleNik/main

very hot very reload
This commit is contained in:
Kenny 2022-03-24 11:59:29 -04:00 committed by GitHub
commit 87de677bb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 30 additions and 10 deletions

View file

@ -1,6 +1,6 @@
<template> <template>
<v-card <v-card
class="entry gridVideoRenderer background" class="entry gridVideoRenderer accent"
:to="`/watch?v=${video.videoId}`" :to="`/watch?v=${video.videoId}`"
flat flat
> >

View file

@ -1,6 +1,6 @@
<template> <template>
<v-card <v-card
class="entry gridVideoRenderer background" class="entry gridVideoRenderer accent"
:to="`/watch?v=${video.videoId}`" :to="`/watch?v=${video.videoId}`"
flat flat
> >

View file

@ -49,6 +49,7 @@ export default {
vuetify: { vuetify: {
customVariables: ["~/assets/variables.scss"], customVariables: ["~/assets/variables.scss"],
treeShake: true,
theme: { theme: {
dark: false, dark: false,
options: { customProperties: true }, options: { customProperties: true },

View file

@ -1,5 +1,5 @@
<template> <template>
<div> <div class="accent">
<video <video
controls controls
autoplay autoplay
@ -9,7 +9,7 @@
ref="player" ref="player"
style="max-height: 50vh" style="max-height: 50vh"
/> />
<v-card v-if="loaded" class="ml-2 mr-2 background" flat> <v-card v-if="loaded" class="ml-2 mr-2 accent" flat>
<v-card-title <v-card-title
class="mt-2" class="mt-2"
style=" style="

View file

@ -7,11 +7,11 @@
<deviceKey> <deviceKey>
<Key> <Key>
<type value="VIRTUAL_DEVICE_PATH" /> <type value="VIRTUAL_DEVICE_PATH" />
<value value="$USER_HOME$/.android/avd/Pixel_3a_API_31_arm64-v8a.avd" /> <value value="$USER_HOME$/.android/avd/Pixel_5_API_31.avd" />
</Key> </Key>
</deviceKey> </deviceKey>
</Target> </Target>
</targetSelectedWithDropDown> </targetSelectedWithDropDown>
<timeTargetWasSelectedWithDropDown value="2022-03-21T20:35:21.068578Z" /> <timeTargetWasSelectedWithDropDown value="2022-03-23T18:18:11.698053Z" />
</component> </component>
</project> </project>

View file

@ -10,16 +10,16 @@
"plugins": { "plugins": {
"SplashScreen": { "SplashScreen": {
"launchShowDuration": 100, "launchShowDuration": 100,
"launchAutoHide": true, "launchAutoHide": false,
"backgroundColor": "#111111", "backgroundColor": "#111111",
"androidSplashResourceName": "splash", "androidSplashResourceName": "splash",
"androidScaleType": "CENTER_CROP", "androidScaleType": "CENTER_CROP",
"androidSpinnerStyle": "large", "androidSpinnerStyle": "large",
"iosSpinnerStyle": "small", "iosSpinnerStyle": "small",
"spinnerColor": "#999999", "spinnerColor": "#999999",
"showSpinner": true, "showSpinner": false,
"splashFullScreen": true, "splashFullScreen": false,
"splashImmersive": true "splashImmersive": false
} }
} }
} }

19
scripts/hot.sh Executable file
View file

@ -0,0 +1,19 @@
function hot {
if (( $# < 2 )); then
echo 'USAGE: hot <command> <file1> [<file2> ... <fileN>]'
echo '<command> will be run once when any of the files listed is changed (i.e. ls -l <file> has its output changed)'
else
script=$1
shift
a='';
while true; do
b=`ls -lahR $* | grep -v 'node_modules'`
# to avoid confusing myself with nested-if - it is a "short form" of doing a=$b; eval $script if $a != $b.
[[ $a != $b ]] && a=$b && eval $script;
sleep .5;
done
fi
}
# NOTE: run from the root of the project
hot ./scripts/build.sh NUXT

0
scripts/install.sh Normal file → Executable file
View file