2016-10-28 01:01:48 +09:00
|
|
|
import UserPanel from './components/user_panel/user_panel.vue'
|
2016-11-07 04:11:23 +09:00
|
|
|
import NavPanel from './components/nav_panel/nav_panel.vue'
|
2016-11-28 03:44:56 +09:00
|
|
|
import Notifications from './components/notifications/notifications.vue'
|
2016-10-27 02:03:55 +09:00
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'app',
|
|
|
|
components: {
|
2016-11-07 04:11:23 +09:00
|
|
|
UserPanel,
|
2016-11-28 03:44:56 +09:00
|
|
|
NavPanel,
|
|
|
|
Notifications
|
2016-11-04 00:58:32 +09:00
|
|
|
},
|
|
|
|
computed: {
|
2016-11-28 03:44:56 +09:00
|
|
|
currentUser () { return this.$store.state.users.currentUser },
|
|
|
|
style () { return { 'background-image': `url(${this.currentUser.background_image})` } }
|
2016-10-27 02:03:55 +09:00
|
|
|
}
|
|
|
|
}
|