ff-admin/src/router/index.ts

16 lines
315 B
TypeScript
Raw Normal View History

2024-08-22 09:48:04 +00:00
import { createRouter, createWebHistory } from "vue-router";
import HomeView from "../views/HomeView.vue";
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: "/",
name: "home",
component: HomeView,
},
],
});
export default router;