M
M
magary42016-04-01 10:44:25
symfony
magary4, 2016-04-01 10:44:25

How to make dependency for js in symphony?

I have several bands. javascript of each depends on some little lib, let's say one from typehead the second from validation lib, etc.
now these libs are in the js folder of the bundle, what
's the best way to do it?
I mean something simple, it's NOT a spa with hundreds of dependencies and their versions

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Y
yuras666, 2016-04-01
@yuras666

You can put everything in a folder, for example web/vendor. I use the following solution: I take bower, add the web/vendor directory to .bowerrc, and connect all dependencies through bower.json.

A
Alexey Romanenko, 2016-04-01
@slimus

You can put it in a web folder and everyone can use it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question