A
A
Alex Pts2014-02-28 15:46:09
Composer
Alex Pts, 2014-02-28 15:46:09

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

1 answer(s)
D
Dmitry Evgrafovich, 2014-10-29
@Tantacula

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 question

Ask a Question

731 491 924 answers to any question