Answer the question
In order to leave comments, you need to log in
How to build Laravel + React component architecture?
I figured out how to add the Reactjs component to Laravel (by default, Lara adds the Example component). But if my component consists of several files, then it will probably be a folder with files. But what about dependencies? Package.json should also be in the folder with this component? Or should these dependencies be written in Package.json at the root of the site? And in general, is this the right architecture? Or do you need to move everything to the frontend? I would be grateful for help.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question