SpBowerBundle icon indicating copy to clipboard operation
SpBowerBundle copied to clipboard

Include dependent assets

Open mieszko4 opened this issue 9 years ago • 0 comments

In my bower.json I have dependency on {"fundation": "zurb/bower-foundation#~5.3.3"} package. I then include this bower package using:

{% javascripts "@foundation_js" %}<script src="{{ asset_url }}"></script>{% endjavascripts %}

However, I get an error message on front-end saying that jQuery is not defined. This is because it only includes Zurb Foundation main js file and not its dependencies, i.e. jQuery in this case.

I think it would be great if dependencies were resolved automatically.

mieszko4 avatar Aug 25 '14 15:08 mieszko4