I’m working through Function Web Development with Elixir, OTP, and Phoenix which is a really eye-opening, fantastic book.
Of course, it’s a little out of date. It was written when Brunch was still bundled with Phoenix but now we have Webpack, so when instructed to type
var phoenix = require("phoenix") in dev tools, that just doesn’t work.
I’ve searched for importing webpacked modules in dev tools to no avail. Perhaps I’m just tired—I’ve been working at this for hours now—but is there a way to access phoenix.js in Chrome’s dev tools in 1.5?