MatheusrdSantos / vue-quick-chat

A simple chat component created with Vue.js
MIT License
128 stars 45 forks source link

README incorrect docs the starting data block #9

Closed mallochine closed 4 years ago

mallochine commented 4 years ago

What a shame this took me an hour to debug. My software skills are not what they used to be.

You have 'messagesDisplay' in the wrong code block

INCORRECT

        message:{
          myself: {
            bg: '#fff',
            text: '#bdb8b8'
          },
          others: {
            bg: '#fb4141',
            text: '#fff'
          }
        },
        messagesDisplay: {
            bg: '#f7f3f3'
        },

CORRECT

        message:{
          myself: {
            bg: '#fff',
            text: '#bdb8b8'
          },
          others: {
            bg: '#fb4141',
            text: '#fff'
          },
          messagesDisplay: {
              bg: '#f7f3f3'
          },
        },
mallochine commented 4 years ago

I am too lazy to submit pull request. I apologize. Back to work for me.

MatheusrdSantos commented 4 years ago

Hi, @mallochine. I fixed this issue here #10, so I'll close it. Thanks for reporting this issue.