DEV Community

Discussion on: Let's Build An Instagram Clone With The PETAL(Phoenix, Elixir, TailwindCSS, AlpineJS, LiveView) Stack [PART 2]

Collapse
 
johankool profile image
Johan Kool

Very nice tutorials! Learning a lot! Question, shouldn't defmodule InstagramClone.Uploaders.Avatar be defmodule InstagramCloneWeb.Uploaders.Avatar?

Collapse
 
elixirprogrammer profile image
Anthony Gonzalez

Not really, you're free to do so, but that module is just a helper to handle uploads, you don't even need to use the module you can just use functions inside the LiveView.