swoole
# 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
php websocket.php
替换src下app.vue里面的
ws://10.5.10.59:9501
For a detailed explanation on how things work, check out the guide and docs for vue-loader.