diff --git a/src/components/status/status.js b/src/components/status/status.js
new file mode 100644
index 0000000000..ad08d9b7e4
--- /dev/null
+++ b/src/components/status/status.js
@@ -0,0 +1,6 @@
+const Status = {
+ props: [ 'status' ]
+}
+
+export default Status
+
diff --git a/src/components/status/status.vue b/src/components/status/status.vue
new file mode 100644
index 0000000000..6ced1af52e
--- /dev/null
+++ b/src/components/status/status.vue
@@ -0,0 +1,53 @@
+
+
+
+
+
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js
index 727008adea..fd36d0db95 100644
--- a/src/components/timeline/timeline.js
+++ b/src/components/timeline/timeline.js
@@ -1,7 +1,12 @@
+import Status from '../status/status.vue'
+
const Timeline = {
props: [
'timeline'
- ]
+ ],
+ components: {
+ Status
+ }
}
-export default Timeline;
+export default Timeline
diff --git a/src/components/timeline/timeline.vue b/src/components/timeline/timeline.vue
index cf71279672..562656f692 100644
--- a/src/components/timeline/timeline.vue
+++ b/src/components/timeline/timeline.vue
@@ -1,7 +1,6 @@
-
Timeline goes here
- {{status.text}}
+
diff --git a/src/main.js b/src/main.js
index f5252481c2..6ce2ca1b59 100644
--- a/src/main.js
+++ b/src/main.js
@@ -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 FriendsTimeline from './components/friends_timeline/friends_timeline.vue'
import statusesModule from './modules/statuses.js'
import usersModule from './modules/users.js'
@@ -19,7 +20,8 @@ const store = new Vuex.Store({
const routes = [
{ path: '/', redirect: '/main/public' },
- { path: '/main/public', component: PublicTimeline }
+ { path: '/main/public', component: PublicTimeline },
+ { path: '/main/friends', component: FriendsTimeline }
]
const router = new VueRouter({routes})