[https://mystifying-bose-20acae.netlify.com/]
元のコードと自分の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: ''
}
},
npm install
npm run serve
npm run build
npm run lint