0👍
✅
If you want to do it all in JavaScript via direct DOM manipulation then you’ll need to loop through records
and use something like appendChild.
Alternatively, you can store records
in your Vue app’s data and then use the Vue v-for attribute inside of a tag such as <li>
, <div>
, etc
Source:stackexchange.com