import {createRouter, createWebHistory} from "vue-router";
import RouterTickets from "./router_tickets.js"
import RouterSettings from "./router_settings.js"
import RouterMessages from "./router_messages.js"
import RouterPlans from "./router_plans.js"
import RouterFinance from "./router_finance.js"
import RouterNS from "./router_ns.js"
import RouterServers from "./router_servers.js"
import RouterCommon from "./router_common.js"
import RouterDashboard from "./router_dashboard.js"
import RouterACL from "./router_acl.js"
import RouterAntiDDoS from "./router_anti_ddos.js"
import RouterWAF from "./router_waf.js"
import RouterDocs from "./router_docs.js"
import RouterPosts from "./router_posts.js"

const router = createRouter({
	history: createWebHistory(),
	routes: [
		...RouterTickets,
		...RouterSettings,
		...RouterMessages,
		...RouterPlans,
		...RouterFinance,
		...RouterNS,
		...RouterServers,
		...RouterDashboard,
		...RouterCommon,
		...RouterACL,
		...RouterAntiDDoS,
		...RouterWAF,
		...RouterDocs,
		...RouterPosts
	]
})

export default router