Fix all vue/multi-word-component-names errors.

This commit is contained in:
FireMaskterK 2021-10-31 19:21:18 +00:00
parent 6a1bb50da7
commit cdd5d1e3d7
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD
9 changed files with 12 additions and 12 deletions

View file

@ -25,10 +25,10 @@
</template> </template>
<script> <script>
import Navigation from "@/components/Navigation"; import NavigationBar from "@/components/NavigationBar.vue";
export default { export default {
components: { components: {
Navigation, NavigationBar,
}, },
mounted() { mounted() {
if (window.location.pathname === "/" || window.location.pathname.length == 0) if (window.location.pathname === "/" || window.location.pathname.length == 0)

View file

@ -1,6 +1,6 @@
<template> <template>
<div v-if="video && isEmbed" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 999"> <div v-if="video && isEmbed" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 999">
<Player <VideoPlayer
ref="videoPlayer" ref="videoPlayer"
:video="video" :video="video"
:sponsors="sponsors" :sponsors="sponsors"
@ -14,7 +14,7 @@
<ErrorHandler v-if="video && video.error" :message="video.message" :error="video.error" /> <ErrorHandler v-if="video && video.error" :message="video.message" :error="video.error" />
<div v-show="!video.error"> <div v-show="!video.error">
<Player <VideoPlayer
ref="videoPlayer" ref="videoPlayer"
:video="video" :video="video"
:video-id="getVideoId()" :video-id="getVideoId()"
@ -123,7 +123,7 @@
class="uk-tile-default uk-align-left uk-width-expand" class="uk-tile-default uk-align-left uk-width-expand"
:style="[{ background: backgroundColor }]" :style="[{ background: backgroundColor }]"
> >
<Comment :comment="comment" :uploader="video.uploader" /> <CommentItem :comment="comment" :uploader="video.uploader" />
</div> </div>
</div> </div>
@ -147,18 +147,18 @@
</template> </template>
<script> <script>
import Player from "@/components/Player.vue"; import VideoPlayer from "@/components/VideoPlayer.vue";
import VideoItem from "@/components/VideoItem.vue"; import VideoItem from "@/components/VideoItem.vue";
import ErrorHandler from "@/components/ErrorHandler.vue"; import ErrorHandler from "@/components/ErrorHandler.vue";
import Comment from "@/components/Comment.vue"; import CommentItem from "@/components/CommentItem.vue";
export default { export default {
name: "App", name: "App",
components: { components: {
Player, VideoPlayer,
VideoItem, VideoItem,
ErrorHandler, ErrorHandler,
Comment, CommentItem,
}, },
data() { data() {
const smallViewQuery = window.matchMedia("(max-width: 640px)"); const smallViewQuery = window.matchMedia("(max-width: 640px)");

View file

@ -9,7 +9,7 @@ const routes = [
{ {
path: "/preferences", path: "/preferences",
name: "Preferences", name: "Preferences",
component: () => import("../components/Preferences.vue"), component: () => import("../components/PreferencesPage.vue"),
}, },
{ {
path: "/results", path: "/results",
@ -19,7 +19,7 @@ const routes = [
{ {
path: "/playlist", path: "/playlist",
name: "Playlist", name: "Playlist",
component: () => import("../components/Playlist.vue"), component: () => import("../components/PlaylistPage.vue"),
}, },
{ {
path: "/:path(v|w|embed|shorts|watch)/:v?", path: "/:path(v|w|embed|shorts|watch)/:v?",
@ -29,7 +29,7 @@ const routes = [
{ {
path: "/:path(channel|user|c)/:channelId/:videos?", path: "/:path(channel|user|c)/:channelId/:videos?",
name: "Channel", name: "Channel",
component: () => import("../components/Channel.vue"), component: () => import("../components/ChannelPage.vue"),
}, },
{ {
path: "/login", path: "/login",