diff options
| author | Roger Braun <roger@rogerbraun.net> | 2016-11-26 21:09:41 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2016-11-26 21:09:41 +0100 |
| commit | 6c2941dba04ca3454251c8ad04cafc40ff4900e8 (patch) | |
| tree | 714e2655e1005526ac5b23dc437f908c99c8a289 /src/main.js | |
| parent | 8cd1c690cae1b3c0cce15401e794fa8011816454 (diff) | |
Basic mention support.
I still have to think about how to integrate them in the state system...
Diffstat (limited to 'src/main.js')
| -rw-r--r-- | src/main.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.js b/src/main.js index eb1ad9b2..9196c5f6 100644 --- a/src/main.js +++ b/src/main.js @@ -6,6 +6,7 @@ import PublicTimeline from './components/public_timeline/public_timeline.vue' import PublicAndExternalTimeline from './components/public_and_external_timeline/public_and_external_timeline.vue' import FriendsTimeline from './components/friends_timeline/friends_timeline.vue' import Conversation from './components/conversation/conversation.vue' +import Mentions from './components/mentions/mentions.vue' import statusesModule from './modules/statuses.js' import usersModule from './modules/users.js' @@ -27,7 +28,8 @@ const routes = [ { path: '/main/all', component: PublicAndExternalTimeline }, { path: '/main/public', component: PublicTimeline }, { path: '/main/friends', component: FriendsTimeline }, - { name: 'conversation', path: '/notice/:id', component: Conversation } + { name: 'conversation', path: '/notice/:id', component: Conversation }, + { name: 'mentions', path: '/:username/mentions', component: Mentions } ] const router = new VueRouter({ |
