Add TWKN timeline.
This commit is contained in:
parent
7fcd36e2c1
commit
83e7add2c7
5 changed files with 30 additions and 7 deletions
|
@ -3,6 +3,7 @@ import VueRouter from 'vue-router'
|
|||
import Vuex from 'vuex'
|
||||
import App from './App.vue'
|
||||
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 statusesModule from './modules/statuses.js'
|
||||
|
@ -19,7 +20,8 @@ const store = new Vuex.Store({
|
|||
})
|
||||
|
||||
const routes = [
|
||||
{ path: '/', redirect: '/main/public' },
|
||||
{ path: '/', redirect: '/main/all' },
|
||||
{ path: '/main/all', component: PublicAndExternalTimeline },
|
||||
{ path: '/main/public', component: PublicTimeline },
|
||||
{ path: '/main/friends', component: FriendsTimeline }
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue