If what you want to do is, connect to the channels from the JS side. You only need to include the phoenix javascript and setup the connections as it is done in a normal phoenix app.
If what you want to do is, connect to the channels from the JS side. You only need to include the phoenix javascript and setup the connections as it is done in a normal phoenix app.