vue-chat
vue-chat copied to clipboard
chat example by vue.js + vuex + webpack
控制台报错 Uncaught TypeError: Cannot read property 'webpackHotUpdate' of undefined
npm i npm run dev will generate error message -> 'Uncaught TypeError: Cannot read property 'bind' of undefined'
你好,这个可以加好友和发图吗
在线运行报错了,Cannot read property 'bind' of undefined
项目下载下来之后,包安装好启动,build报错
buid.js报错
npm run build后没有index.html,部署到服务器的时候没有index.html,dist文件夹里也没有img,js,css文件夹,这个怎么处理?
请问`store.js`中的这段代码,为什么`mutation`是用`dispatch`在提交呢? `dispatch`不是用来分发`action`的吗?`commit`才是用来提交`mutation`的啊。 ```js // store.js export const actions = { initData: ({ dispatch }) => dispatch('INIT_DATA'), sendMessage: ({ dispatch }, content) => dispatch('SEND_MESSAGE', content), selectSession: ({ dispatch }, id) =>...
比如说动态添加user,左侧用户列表,以及动态发消息,通过js控制