/vue-chat-demo

Based on Vue and Socket.io and Koa

Primary LanguageVueMIT LicenseMIT

Chatroom Demo

A Vue.js project

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

Mysql Setup

./mysql/index.js

module.exports = {
    host,
    user,
    password,
    database,
}

public文件夹放置头像

技术栈

前端: Webpack + Vue + Vue-router + Axios + Element-UI + Socket.io

后端: Koa以及相关中间件