wip: refactor(client): migrate paging components to composition api
This commit is contained in:
parent
25f15677c3
commit
f96d50bc07
5 changed files with 92 additions and 111 deletions
|
|
@ -33,7 +33,7 @@ const defaultRoutes = [
|
|||
{ path: '/explore/tags/:tag', props: true, component: page('explore') },
|
||||
{ path: '/federation', component: page('federation') },
|
||||
{ path: '/emojis', component: page('emojis') },
|
||||
{ path: '/search', component: page('search') },
|
||||
{ path: '/search', component: page('search'), props: route => ({ query: route.query.q, channel: route.query.channel }) },
|
||||
{ path: '/pages', name: 'pages', component: page('pages') },
|
||||
{ path: '/pages/new', component: page('page-editor/page-editor') },
|
||||
{ path: '/pages/edit/:pageId', component: page('page-editor/page-editor'), props: route => ({ initPageId: route.params.pageId }) },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue