What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-19 03:54:10
exemplo simples de socket com node
<html> <head></head> <body> <div id="message"></div> <script src="/socket.io/socket.io.js"></script> <script> var socket = io(); socket.on('message', function(msg){... Add solution -
Other 2021-11-04 14:12:09
Module not found: Error: Can't resolve 'laravel-echo' in 'D:\Open Server\domains\laraveluzh.loc\resources\js'
I needed to install below packages. npm install -g laravel-echo-server then following the step by step instruction as give here Finally put below code before any js file. <script src="http://{{ Request::getHost() }}:6001/socket.io/socket.io.js&... Add solution