laravel-echo-umd

1.0.2 • Public • Published

Laravel Echo UMD

Laravel Echo as a UMD package. Needed this for use in an ES5 project.

Installing

npm i --save laravel-echo-umd

Usage

Include the node_modules/laravel-echo-umd/dist/echo.js file in your app however you want, and Echo will be available globally.

You can use it like

window.echo = new Echo(config);
 
// later on...
echo
  .channel('orders')
  .listen('OrderShipped', function (e) {
    console.log(e.order.name);
  });

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    48
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    48
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i laravel-echo-umd

Weekly Downloads

48

Version

1.0.2

License

MIT

Unpacked Size

74.3 kB

Total Files

11

Last publish

Collaborators

  • rohandeshpande