Created
March 8, 2017 01:18
-
-
Save xtsolucoes/2e95ca78d0a11d4694c173c65c219b17 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
import {mapState} from 'vuex' | |
import ChatUserList from './../components/chat/ChatUserList' | |
export default { | |
components: { | |
'user-list': ChatUserList | |
}, | |
computed: { | |
...mapState({ | |
chatStore: state => state.chatStore | |
}) | |
}, | |
created () { | |
this.$store.dispatch('setUserLIst') | |
} | |
} | |
</script> | |
<template> | |
<div class="wrapper" id="chat-wrapper"> | |
<section class="heading"> | |
<h1 class="page-title">Chat</h1> | |
</section> | |
<section class="content"> | |
<div class="col-md-2" id="user-list-col"> | |
<user-list></user-list> | |
</div> | |
<div class="col-md-10" id="chat-content-wrapper"> | |
conteundo das mensagens | |
</div> | |
</section> | |
</div> | |
</template> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment