[FEAT] Add blog
This commit is contained in:
@@ -24,6 +24,16 @@ const router = createRouter({
|
||||
name: 'privacy-policy',
|
||||
component: () => import('../views/PrivacyPolicy.vue'),
|
||||
},
|
||||
{
|
||||
path: '/blog',
|
||||
name: 'blog-overview',
|
||||
component: () => import('../views/BlogOverview.vue'),
|
||||
},
|
||||
{
|
||||
path: '/blog/:slug',
|
||||
name: 'blog-detail',
|
||||
component: () => import('../views/BlogDetail.vue'),
|
||||
},
|
||||
],
|
||||
scrollBehavior(to, from, savedPosition) {
|
||||
if (savedPosition) {
|
||||
|
||||
Reference in New Issue
Block a user