Using a Bootstrap modal to show each workout

Now we can see all the existing workouts on the page, which is great. However, our users would really like to have a look at each of the workouts in detail – see the workouts' descriptions, rate them, see who has created them and when, and so on. It's unthinkable to put all this information in the tiny card element, so we need to have a way of magnifying each element in order to be able to see its detailed information. A Bootstrap modal is a great tool that provides this functionality. Check the Bootstrap documentation regarding the modal API: https://v4-alpha.getbootstrap.com/components/modal/.

Note

Note that Bootstrap 4, at the time of writing, is in its alpha stage and that's why at some point this ...

Get Vue.js 2 and Bootstrap 4 Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.