Incorporating slots in movie-item
In the last lesson, we learned about slots, which allow a parent component to place custom content inside the template of a child component.
We're going to now utilize that feature to customize the content of the MovieItem
component.
Customizing MovieItem
Currently, we're using the MovieItem
component to provide content for the movie page. However, it seems pointless to have the same content in this page that we already have on the home page.
Click to load comments...