S
S
Sport-code2019-04-05 07:04:53
Vue.js
Sport-code, 2019-04-05 07:04:53

How to load a component from a database?

Hi everybody.
If I load components from the database, how can I do it correctly?
Do I need to add something to the routes array or in another way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2019-04-05
@alexmixaylov

The question is not quite clear
if "the manager added a directory" - an alias (or something else) of the category, of course, needs to be added to the array with routes.
But COMPONENT is the code that is in the files,
you can load data from the database into some component, but load the component from the base is a dubious practice

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question