安装依赖

npm install

npm client-install

快速启动

快速启动
"npm run server\" \"npm run socket\" \"npm run client\
  1. 启动后端server,socket,一个客户端

    npm run dev

  2. 进入客户端文件夹

    cd client

  3. 启动另一个客户端

    npm run serve

标准启动

  1. 启动服务端

    npm run server

  2. socket

    npm run socket

  3. 启动两个客户端

    cd client

    npm run serve

    新终端

    npm run serve


2019022801.gif

[gitwidget type='github' url='JoyNop/node-app-wechat']