init push - laying out the project
This commit is contained in:
6
portal/client/src/channels/consumer.js
Normal file
6
portal/client/src/channels/consumer.js
Normal file
@ -0,0 +1,6 @@
|
||||
// Action Cable provides the framework to deal with WebSockets in Rails.
|
||||
// You can generate new channels where WebSocket features live using the `rails generate channel` command.
|
||||
|
||||
import { createConsumer } from '@rails/actioncable';
|
||||
|
||||
export default createConsumer();
|
Reference in New Issue
Block a user