add search page

This commit is contained in:
geoffrey45
2022-08-28 00:49:46 +03:00
parent b019fa22c4
commit ced30d309e
14 changed files with 119 additions and 74 deletions
+7
View File
@@ -11,6 +11,8 @@ import Home from "@/views/Home.vue";
import PlaylistList from "@/views/PlaylistList.vue";
import PlaylistView from "@/views/playlist/index.vue";
import SettingsView from "@/views/SettingsView.vue";
import SearchView from "@/views/Search.vue";
import { createRouter, createWebHashHistory } from "vue-router";
const routes = [
@@ -94,6 +96,11 @@ const routes = [
name: "SettingsView",
component: SettingsView,
},
{
path: "/search",
name: "SearchView",
component: SearchView,
},
{
path: "/:pathMatch(.*)",
component: () => import("../views/NotFound.vue"),