mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
add search page
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user