Skip to content

Commit

Permalink
fix: add route to timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
paulpestov committed Nov 5, 2023
1 parent 0381a30 commit 6b92f0f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/router/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { createRouter, createWebHashHistory } from 'vue-router';
import HomeView from '../views/HomeView.vue';
import Workflows from "@/components/Workflows.vue";
import Projects from "@/components/Projects.vue";
import Processors from "@/components/Processors.vue";
import { createRouter, createWebHashHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
import Workflows from "@/components/Workflows.vue"
import Projects from "@/components/Projects.vue"
import Processors from "@/components/Processors.vue"
import Timeline from "@/components/Timeline.vue"

const router = createRouter({
history: createWebHashHistory(import.meta.env.BASE_URL),
Expand All @@ -15,9 +16,10 @@ const router = createRouter({
{ path: 'projects', name: 'projects', component: Projects },
{ path: 'processors', name: 'processors', component: Processors },
{ path: 'workflows', alias: '/', name: 'workflows', component: Workflows },
{ path: 'timeline', alias: '/', name: 'timeline', component: Timeline },
],
},
]
});
})

export default router;
export default router

0 comments on commit 6b92f0f

Please sign in to comment.