Basic mention support.

I still have to think about how to integrate them in the state system...
This commit is contained in:
Roger Braun 2016-11-26 21:09:41 +01:00
parent 8cd1c690ca
commit 6c2941dba0
8 changed files with 64 additions and 4 deletions

View file

@ -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({