0👍
You can pass the names of components, e. g. ['comp1', 'comp2']
, then you have to register all the components, that could be passed (components: {comp1, comp2, comp3...}
), and then you can use this structure:
<component v-for="(component, key) in components" :key="key" :is="component" />
this method would render the components you passed
- [Vuejs]-Problem with routes in hosted web application (VUE.JS + NET CORE 3.1)
- [Vuejs]-Vue JS get Json object list with axios
Source:stackexchange.com