diff --git a/src/main.ts b/src/main.ts
index edcc391..b19f1ff 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -14,14 +14,31 @@ const router = createRouter({
components: {
default: HomeVue,
},
+ meta: {
+ title: "Home",
+ },
},
{
path: "/login",
component: () => import("./views/Login.vue"),
+ meta: {
+ title: "Login",
+ },
},
{
path: "/register",
component: () => import("./views/Registration.vue"),
+ meta: {
+ title: "Registration",
+ },
+ },
+ {
+ path: "/projects/:id",
+ component: () => import("./views/Project.vue"),
+ meta: {
+ title: "Project",
+ showBack: true,
+ },
},
],
});
diff --git a/src/views/Project.vue b/src/views/Project.vue
new file mode 100644
index 0000000..103e8a3
--- /dev/null
+++ b/src/views/Project.vue
@@ -0,0 +1 @@
+Welcome to {{ $route.params.id }}