/**
 * Router ขอโอน
 */

const LeaveMain = () => import("@/modules/03_leave/views/Main.vue")

const AddLeave = () => import("@/modules/03_leave/views/AddLeave.vue")

export default [
	{
		path: "/leave",
		name: "leave",
		component: LeaveMain,
	},
	{
		path: "/leave/add",
		name: "AddLeave",
		component: AddLeave,
	},
	{
		path: "/leave/:id",
		name: "detailLeave",
		component: AddLeave,
	},
]
