import { createRouter, createWebHashHistory } from "vue-router"; import SearchView from "./pages/SearchView.vue"; const routes = [{ path: "/", component: SearchView }]; export const router = createRouter({ history: createWebHashHistory(), routes, });