diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-08-09 21:46:55 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-08-09 21:46:55 +0000 |
| commit | 7773e7de6454a7ecd79b695ba27cccabeaca184e (patch) | |
| tree | f14fc29167d7b2a21264351236f1721dd0794456 /src/boot/routes.js | |
| parent | 2867c696293a96375f60898e10d7a702f60855c5 (diff) | |
| parent | 891fbf996d7ddd415d99ea9065d54b0f493b5422 (diff) | |
Merge branch 'lists-implementation' into 'develop'
Add lists support
See merge request pleroma/pleroma-fe!1584
Diffstat (limited to 'src/boot/routes.js')
| -rw-r--r-- | src/boot/routes.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/boot/routes.js b/src/boot/routes.js index c8194d5f..95e47199 100644 --- a/src/boot/routes.js +++ b/src/boot/routes.js @@ -20,6 +20,9 @@ import ShoutPanel from 'components/shout_panel/shout_panel.vue' import WhoToFollow from 'components/who_to_follow/who_to_follow.vue' import About from 'components/about/about.vue' import RemoteUserResolver from 'components/remote_user_resolver/remote_user_resolver.vue' +import Lists from 'components/lists/lists.vue' +import ListsTimeline from 'components/lists_timeline/lists_timeline.vue' +import ListsEdit from 'components/lists_edit/lists_edit.vue' export default (store) => { const validateAuthenticatedRoute = (to, from, next) => { @@ -72,7 +75,10 @@ export default (store) => { { name: 'search', path: '/search', component: Search, props: (route) => ({ query: route.query.query }) }, { name: 'who-to-follow', path: '/who-to-follow', component: WhoToFollow, beforeEnter: validateAuthenticatedRoute }, { name: 'about', path: '/about', component: About }, - { name: 'user-profile', path: '/:_(users)?/:name', component: UserProfile } + { name: 'user-profile', path: '/:_(users)?/:name', component: UserProfile }, + { name: 'lists', path: '/lists', component: Lists }, + { name: 'lists-timeline', path: '/lists/:id', component: ListsTimeline }, + { name: 'lists-edit', path: '/lists/:id/edit', component: ListsEdit } ] if (store.state.instance.pleromaChatMessagesAvailable) { |
