mirror of https://github.com/FreeTubeApp/FreeTube
Set the Vue compiler whitespace option to condense (#3101)
This commit is contained in:
parent
5424122339
commit
15bd1cb958
|
@ -42,6 +42,11 @@ const config = {
|
|||
{
|
||||
test: /\.vue$/,
|
||||
loader: 'vue-loader',
|
||||
options: {
|
||||
compilerOptions: {
|
||||
whitespace: 'condense',
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
test: /\.scss$/,
|
||||
|
|
|
@ -42,7 +42,12 @@ const config = {
|
|||
},
|
||||
{
|
||||
test: /\.vue$/,
|
||||
loader: 'vue-loader'
|
||||
loader: 'vue-loader',
|
||||
options: {
|
||||
compilerOptions: {
|
||||
whitespace: 'condense',
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
test: /\.scss$/,
|
||||
|
|
|
@ -95,22 +95,22 @@
|
|||
<span>{{ channelName }}</span>
|
||||
</router-link>
|
||||
<template v-if="!isLive && !isUpcoming && !isPremium && !hideViews">
|
||||
<span class="viewCount">• {{ parsedViewCount }}</span>
|
||||
<span class="viewCount"> • {{ parsedViewCount }} </span>
|
||||
<span v-if="viewCount === 1">{{ $t("Video.View").toLowerCase() }}</span>
|
||||
<span v-else>{{ $t("Video.Views").toLowerCase() }}</span>
|
||||
</template>
|
||||
<span
|
||||
v-if="uploadedTime !== '' && !isLive && !inHistory"
|
||||
class="uploadedTime"
|
||||
>• {{ uploadedTime }}</span>
|
||||
> • {{ uploadedTime }}</span>
|
||||
<span
|
||||
v-if="inHistory"
|
||||
class="uploadedTime"
|
||||
>• {{ publishedText }}</span>
|
||||
> • {{ publishedText }}</span>
|
||||
<span
|
||||
v-if="isLive && !hideViews"
|
||||
class="viewCount"
|
||||
>• {{ parsedViewCount }} {{ $t("Video.Watching").toLowerCase() }}</span>
|
||||
> • {{ parsedViewCount }} {{ $t("Video.Watching").toLowerCase() }}</span>
|
||||
</div>
|
||||
<p
|
||||
v-if="listType !== 'grid' && appearance === 'result'"
|
||||
|
|
Loading…
Reference in New Issue