Skip to content

Commit

Permalink
Revert "don't lazy load components until proper caching is setup othe…
Browse files Browse the repository at this point in the history
…rwise users with old pages will break after new deploys"

This reverts commit 9ce9d1e.
  • Loading branch information
liamcottle committed Nov 18, 2024
1 parent 9ce9d1e commit c235460
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
},
],
});
Expand Down

0 comments on commit c235460

Please sign in to comment.