G
G
GizzaProger2020-09-14 14:17:51
Vue.js
GizzaProger, 2020-09-14 14:17:51

How to dynamically load components in vue?

I have a toolbar. I want to categorize it. Each tool is a specific component. Lots of tools.
I want to write a js object in which I will specify an array of tools, their names, the category of the tool, and so on.
How can I dynamically load them into the panel using a list of tools and register them as vue components?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2020-09-14
@UPSA

https://ru.vuejs.org/v2/guide/components-dynamic-a...
Somewhere on this site there were even examples)))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question