Skip to content
Snippets Groups Projects
Verified Commit bf50676f authored by Daniel Göbel's avatar Daniel Göbel
Browse files

Fix routing

parent 87d0870b
No related branches found
No related tags found
1 merge request!148Resolve "Fix routing"
Pipeline #60527 passed
...@@ -12,7 +12,7 @@ const router = createRouter({ ...@@ -12,7 +12,7 @@ const router = createRouter({
{ {
path: "/dashboard", path: "/dashboard",
name: "dashboard", name: "dashboard",
component: import("../views/DashboardView.vue"), component: () => import("../views/DashboardView.vue"),
children: [ children: [
...resourceRoutes, ...resourceRoutes,
...s3Routes, ...s3Routes,
...@@ -38,7 +38,7 @@ const router = createRouter({ ...@@ -38,7 +38,7 @@ const router = createRouter({
{ {
path: "/signup", path: "/signup",
name: "signup", name: "signup",
component: import("../views/SignupView.vue"), component: () => import("../views/SignupView.vue"),
meta: { meta: {
title: "Signup", title: "Signup",
public: true, public: true,
...@@ -57,7 +57,7 @@ const router = createRouter({ ...@@ -57,7 +57,7 @@ const router = createRouter({
title: "Privacy Policy", title: "Privacy Policy",
public: true, public: true,
}, },
component: import("../views/PrivacyPolicyView.vue"), component: () => import("../views/PrivacyPolicyView.vue"),
}, },
{ {
path: "/terms", path: "/terms",
...@@ -66,7 +66,7 @@ const router = createRouter({ ...@@ -66,7 +66,7 @@ const router = createRouter({
title: "Terms of Usage", title: "Terms of Usage",
public: true, public: true,
}, },
component: import("../views/TermsOfUsageView.vue"), component: () => import("../views/TermsOfUsageView.vue"),
}, },
{ {
path: "/imprint", path: "/imprint",
...@@ -75,7 +75,7 @@ const router = createRouter({ ...@@ -75,7 +75,7 @@ const router = createRouter({
title: "Imprint", title: "Imprint",
public: true, public: true,
}, },
component: import("../views/ImprintView.vue"), component: () => import("../views/ImprintView.vue"),
}, },
{ {
path: "/:pathMatch(.*)", path: "/:pathMatch(.*)",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment