feat: use article props

This commit is contained in:
Shivam Mishra
2024-10-05 18:42:03 +05:30
parent 0677d8763d
commit 1c3f6f46fe
3 changed files with 10 additions and 9 deletions
+2 -1
View File
@@ -34,8 +34,9 @@ export default createRouter({
component: () => import('./views/Messages.vue'),
},
{
path: '/article',
path: '/article/:link',
name: 'article-viewer',
props: true,
component: () => import('./views/ArticleViewer.vue'),
},
],