diff --git a/src/main.js b/src/main.js index 4e5ac67..a2ce9a4 100644 --- a/src/main.js +++ b/src/main.js @@ -12,48 +12,48 @@ const router = createRouter({ { name: "main", path: '/', - component: import("./components/pages/MainPage.vue"), + component: () => import("./components/pages/MainPage.vue"), }, { name: "connect", path: '/connect', - component: import("./components/pages/ConnectPage.vue"), + component: () => import("./components/pages/ConnectPage.vue"), }, { name: "channel.messages", path: '/channels/:channelId/messages', props: true, - component: import("./components/pages/ChannelMessagesPage.vue"), + component: () => import("./components/pages/ChannelMessagesPage.vue"), }, { name: "node", path: '/nodes/:nodeId', props: true, - component: import("./components/pages/NodePage.vue"), + component: () => import("./components/pages/NodePage.vue"), }, { name: "node.messages", path: '/nodes/:nodeId/messages', props: true, - component: import("./components/pages/NodeMessagesPage.vue"), + component: () => import("./components/pages/NodeMessagesPage.vue"), }, { name: "node.traceroutes", path: '/nodes/:nodeId/traceroutes', props: true, - component: import("./components/pages/NodeTraceRoutesPage.vue"), + component: () => import("./components/pages/NodeTraceRoutesPage.vue"), }, { name: "node.traceroutes.run", path: '/nodes/:nodeId/traceroutes/run', props: true, - component: import("./components/pages/NodeRunTraceRoutePage.vue"), + component: () => import("./components/pages/NodeRunTraceRoutePage.vue"), }, { name: "traceroute", path: '/traceroutes/:traceRouteId', props: true, - component: import("./components/pages/TraceRoutePage.vue"), + component: () => import("./components/pages/TraceRoutePage.vue"), }, ], });