import config from "@/config";
import tool from "@/utils/tool";

// 系统路由
const routes = [
	{
		name: "layout",
		path: "/",
		component: () => import("@/layout/index.vue"),
		redirect: config.DASHBOARD_URL,
		children: []
	},
	{
		path: "/login",
		component: () => import("@/views/auth/login/login.vue"),
		meta: {
			title: "登录"
		}
	}
];

export default routes;
