mix live_state.gen.element (live_state v0.8.2)
Generates a Livestate channel.
$ mix live_state.gen.channel Todo
Accepts the module name for the channel
The generated files will contain:
For a regular application:
- a channel in
lib/my_app_web/channels
- a channel test in
test/my_app_web/channels