grych / drab

Remote controlled frontend framework for Phoenix.

Home Page:https://tg.pl/drab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

this.Socket is not a constructor

andyselden opened this issue · comments

Having issues with this even after following along here https://hexdocs.pm/drab/Drab.Client.html. Any ideas?

screen shot 2018-10-20 at 12 31 01 am
screen shot 2018-10-20 at 12 31 13 am

Hey, thanks for reporting. Is there Phoenix 1.4 with webpack?

This is Phoenix 1.3 and I am using brunch.

Do you have a custom :js_socket_constructor config set?

Can you show how you initialize Drab in the app.html.eex?

Closing after 28 days as it is not replicable.