Skip to content

Instantly share code, notes, and snippets.

View xtsolucoes's full-sized avatar

Luiz Martins xtsolucoes

View GitHub Profile
<script>
import {mapState} from 'vuex'
export default {
computed: {
...mapState({
userStore: state => state.userStore
})
}
<script>
import {mapState} from 'vuex'
import ChatUserList from './../components/chat/ChatUserList'
export default {
components: {
'user-list': ChatUserList
},
computed: {
...mapState({
chatStore: state => state.chatStore