且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

找不到模块"laravel-echo".

更新时间: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>