Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A chat application based on Vue.js and Koa.js

NotificationsYou must be signed in to change notification settings

JoeWrights/vue-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A chat application based on Vue.js and Koa.js

Clone Project

git clone https://github.com/JoeWrights/vue-chat.git

Project setup

cd vue-chat-servernpm install
cd vue-chat-fenpm install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

注意:

  1. .env.development里的地址改成自己的,而且连接websocket时,websocket的主机地址应该和这里的主机地址相同。例如:这里的地址是:VUE_APP_API_URL = http://192.168.43.188:3006,则websocket地址为:ws://192.168.43.188:3006/chat/chat要不要都可以。
  2. 开发是最好建一个与.env.development同级的.env.development.local,这个不会被提交到repo。

效果图:

登录login

注册register

群聊groupChatgroupChat

好友聊天

添加好友:

个人信息:

About

A chat application based on Vue.js and Koa.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp