Problem
A Vue app is presented below. It displays a list of employees. It also has a search bar that allows a search of the employees. The search is implemented using v-if
with a v-for
directive where an employee
is rendered if it contains the search string searchStr
. This application works as expected as seen by running the application.
Get hands-on with 1400+ tech skills courses.