akkoma-fe/src/App.js

13 lines
302 B
JavaScript
Raw Normal View History

2016-10-27 16:01:48 +00:00
import UserPanel from './components/user_panel/user_panel.vue'
2016-10-26 17:03:55 +00:00
export default {
name: 'app',
components: {
2016-10-27 16:01:48 +00:00
UserPanel
2016-11-03 15:58:32 +00:00
},
computed: {
user () { return this.$store.state.users.currentUser || {} },
style () { return { 'background-image': `url(${this.user.background_image})` } }
2016-10-26 17:03:55 +00:00
}
}