/* * @Author: Kane * @Date: 2022-12-14 15:12:46 * @LastEditors: Kane * @LastEditTime: 2022-12-14 16:19:17 * @FilePath: \admin_system\src\router\index.js * @Description: * * Copyright (c) ${2022} by Kane, All Rights Reserved. */ import { createRouter, createWebHashHistory } from 'vue-router' const routes = [ { path: "/", name: "Home", redirect: "Login", }, { path: "/login", name: "Login", component: () => import("../views/account/Login.vue"), } ]; const router = createRouter({ history: createWebHashHistory(), routes }) export default router