loading...

re: The Magic of Vue's Dynamic Components For Lists of Data VIEW POST

FULL DISCUSSION
 

I really like this.
And you can also use v-bind to pass an object thus passing multiple props in a compact way or even a calculated way dependent on the item type. Same for event listeners with v-on.

 

Exactly! I did this in the project I was working on but wanted to keep the example simple. Thanks for the reply 😊

code of conduct - report abuse