import {createRouter, createWebHistory} from "vue-router"; import HomeView from "../views/HomeView.vue"; const router = createRouter({ //@ts-ignore history: createWebHistory(import.meta.env.BASE_URL), routes: [ { path: "/", name: "index", component: HomeView, meta: { title: "Chat Nio", }, }, ], }); export default router;