[Vuejs]-Only one dynamic data object loading into a component at a time vue.js

0👍

I have made few changes in the script Hope this is what you are looking for.

  1. Kept steps: 1, as it is mandatory to initialize the script.
  2. I have hardcoded the value to 2 in the step in your mounted() function but it is working with dynamically rendered data.

https://codepen.io/anon/pen/GGLNLE?editors=1010

Leave a comment