Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question