https://github.com/yuki-torii/actioncable-esm
actioncable esm version
https://github.com/yuki-torii/actioncable-esm
actioncable webpack2 yuki
Last synced: 3 months ago
JSON representation
actioncable esm version
- Host: GitHub
- URL: https://github.com/yuki-torii/actioncable-esm
- Owner: yuki-torii
- Created: 2017-03-10T03:24:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-10T04:50:20.000Z (over 8 years ago)
- Last Synced: 2025-02-01T16:25:18.136Z (5 months ago)
- Topics: actioncable, webpack2, yuki
- Language: JavaScript
- Homepage:
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Install
```bash
$ yarn add actioncable-esm
# or
$ npm i --save actioncable-esm
```## Usage
```js
import ActionCable from 'actioncable-esm'var cable = ActionCable.createConsumer('ws://*/websocket')
cable.subscriptions.create('AppearanceChannel', {
// normal channel code goes here...
})export default cable
```