L
L
londhor2019-10-17 23:15:06
Vue.js
londhor, 2019-10-17 23:15:06

Dynamic loading of Vue components?

I have a dashboard. Each user has their own unique set of widgets. Widgets more than 200pcs.
After login, the back will give the user his list of widget UIDs and their data. The question remains, how can I dynamically connect widgets for the user?
Connect all 200pcs. in the code and through the v-for loop to display ?
Is it possible to do without SSR (if so, how?), or is SSR the only right solution?
Tell me which way to dig? I have not solved a similar problem on Vue before.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dnebl, 2019-10-17
@Dnebl

https://vuejs.org/v2/guide/components-dynamic-asyn...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question