A
A
Andrey Vasilev2022-03-29 23:13:39
JavaScript
Andrey Vasilev, 2022-03-29 23:13:39

Rendering components from an object in a vue loop?

Hello.
Is it possible to lay connected components in an object and render them?
I need to render all information + icons in a loop and then interact with them.
It is clear that a simple img tag will not help, only if you write filters for it.
v-html does not fix the situation either, as it makes it impossible to interact ...
Are there any less painful options?
62436865d8a4e850775785.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Shamanov, 2022-03-30
@SilenceOfWinter

https://vuejs.org/examples/#tree menu example

O
Oleg Kirillov, 2022-03-30
@exmach

> Is it possible to lay connected components in an object and render them?
You can lay the names of the components, and then render through component is.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question