add project route

This commit is contained in:
isUnknown 2024-09-17 17:31:03 +02:00
parent abaf667a82
commit 93642fb9b2
4 changed files with 81 additions and 28 deletions

View file

@ -3,6 +3,7 @@ import Home from "../views/Home.vue";
import Notifications from "../views/Notifications.vue";
import Reunions from "../views/Reunions.vue";
import Inspirations from "../views/Inspirations.vue";
import Project from "../views/Project.vue";
import { useApiStore } from "../stores/api";
import { usePageStore } from "../stores/page";
import { getActivePinia } from "pinia";
@ -24,6 +25,10 @@ const routes = [
path: "/inspirations",
component: Inspirations,
},
{
path: "/projects/:id",
component: Project,
},
];
const router = createRouter({