dykj-college-back-office-ma.../src/router/index.js

16 lines
311 B
JavaScript
Raw Normal View History

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