Skip to content

ZChat_v1.0

Latest
Compare
Choose a tag to compare
@Zhengfu200 Zhengfu200 released this 12 Feb 11:15
· 2 commits to master since this release

截至2025/2/12的所有更新。

📝 使用说明:

后端搭建:
  1. 在后端目录内执行:
  2. npm install
  3. node server.js
前端搭建:
  1. 在前端目录内执行:
  2. npm install
  3. quasar build
  4. 输出文件在前端/dist/spa目录下
其他
  • 默认端口为300[后端.zip](https://github.com/user-attachments/files/18766735/default.zip),在后端server.js中的第141行:const server = app.listen(3000, () => {});3000改为其他数值
  • 前端搜索http://localhost:3000修改为你后端api的地址
  • 前端搜索ws://localhost:3000修改为你后端搭建websocket地址,请将localhost:3000修改为你的域名(若存在SSL,请将ws修改为wss
  • 请在前端index.html的第4行修改你的网站标题,在第12-16行修改你的网站图标