Answer the question
In order to leave comments, you need to log in
How to correctly include js from the vendor folder?
JavaScript libraries can now be loaded into the project via composer so that you do not have to keep track of updates and dependencies yourself. But I don’t quite understand how to correctly connect / copy statics from the vendor folder to the project.
Can someone explain or better show a detailed example.
Answer the question
In order to leave comments, you need to log in
https://getcomposer.org/doc/articles/scripts.md - look here. There is also an example of copying using php.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question