35 lines
691 B
JavaScript
Raw Normal View History

2023-02-28 01:16:49 +08:00
/*
* @Author: Kane
2023-02-28 09:30:02 +08:00
* @Date: 2023-02-28 01:22:48
2023-02-28 01:16:49 +08:00
* @LastEditors: Kane
2023-02-28 09:30:02 +08:00
* @FilePath: /deskop_task_schedule/code/web/task_schedule/src/router/index.js
* @Description:
2023-02-28 01:16:49 +08:00
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
2023-02-28 09:30:02 +08:00
2023-02-28 01:16:49 +08:00
import { createRouter, createWebHashHistory } from "vue-router";
const routes = [
{
path: "/",
name: "Root",
redirect: "Login",
hidden: true,
},
{
path: "/login",
name: "Login",
hidden: true,
component: () => import("@/components/login/login.vue"),
},
];
const router = createRouter(
{
history: createWebHashHistory(),
routes,
}
);
export { router };