更新时间:2023-11-17 16:36:04
我需要安装以下软件包.
I needed to install below packages.
npm install -g laravel-echo-server
then following the step by step instruction as give here
最后将下面的代码放在任何js文件之前.
Finally put below code before any js file.
<script src="http://{{ Request::getHost() }}:6001/socket.io/socket.io.js"></script>