Skip to content
This repository was archived by the owner on Jan 23, 2020. It is now read-only.

Coordinate-Cat/VueChatTut

Repository files navigation

VueChatTut

deploy

[https://mystifying-bose-20acae.netlify.com/]
Deploy to Netlify

local

http://localhost:8080/chat

まずった

元のコードと自分のlint設定に差異があってエラー出まくった 下記例

store/index.js ERROR:Expected an assignment or function call and instead saw an expression

getters: {
  <!-- hasError: state => state.error ? true : false //動かん -->
  hasError: state => state.error
},

components/RoomList.vue ERROR:space-before-function-paren

methods: {
    statusColor (status) { //関数と()の間開けない
        return status === 'online' ? 'success' : 'warning'
    }
}

components/MessageForm.vue

data () { //dataと()の間開ける
    return {
      message: ''
    }
  },

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

About

💣Build a Real-time Chat App with Pusher and Vue.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published