DEV Community

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

Collapse
 
hminy572 profile image
hminy572

"""
Let's create a component to handle likes, under lib/instagram_clone_web/live/post_live add a file named live_component.ex and add the following:
"""

is the file created in post_live folder for like_component's name "like_component" ?

like so

"""
Let's create a component to handle likes, under lib/instagram_clone_web/live/post_live add a file named like_component.ex and add the following:
"""

Collapse
 
elixirprogrammer profile image
Anthony Gonzalez

That's correct!

Collapse
 
hminy572 profile image
hminy572

thanks for replying! now my code works good!