Topic front end

This commit is contained in:
2020-08-13 03:21:36 +05:00
parent af1e8bf182
commit f8d0feeeec
4 changed files with 72 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
import Home from './pages/Home';
import Article from './pages/Article';
import Topic from './pages/Topic';
export default {
mode: 'history',
@@ -13,6 +14,11 @@ export default {
path: '/article/:id',
component: Article,
name: 'article.show'
},
{
path: '/topic/:slug',
component: Topic,
name : 'topic.show'
}
]
};