aboutsummaryrefslogtreecommitdiff
path: root/src/main.js
diff options
context:
space:
mode:
authorShpuld Shpuldson <shpuld@gmail.com>2017-08-02 22:09:40 +0300
committerShpuld Shpuldson <shpuld@gmail.com>2017-08-02 22:09:40 +0300
commitacf3fd5d91b41cfed08d70c63eab7feb79769a10 (patch)
treeeebf5aa8ba6950d7aaaf7015b9bd9babc359669e /src/main.js
parentb2846893138086023ee43e8919689e659639579a (diff)
Add new user-settings component/route, add options to change name, bio, avatar, banner and bg. Add those options to api service and backend interactor service.
Diffstat (limited to 'src/main.js')
-rw-r--r--src/main.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.js b/src/main.js
index 4b7891ed..8d3a6775 100644
--- a/src/main.js
+++ b/src/main.js
@@ -10,6 +10,7 @@ import Mentions from './components/mentions/mentions.vue'
import UserProfile from './components/user_profile/user_profile.vue'
import Settings from './components/settings/settings.vue'
import Registration from './components/registration/registration.vue'
+import UserSettings from './components/user_settings/user_settings.vue'
import statusesModule from './modules/statuses.js'
import usersModule from './modules/users.js'
@@ -62,7 +63,8 @@ const routes = [
{ name: 'user-profile', path: '/users/:id', component: UserProfile },
{ name: 'mentions', path: '/:username/mentions', component: Mentions },
{ name: 'settings', path: '/settings', component: Settings },
- { name: 'registration', path: '/registration', component: Registration }
+ { name: 'registration', path: '/registration', component: Registration },
+ { name: 'user-settings', path: '/user-settings', component: UserSettings }
]
const router = new VueRouter({