Spea / SpBowerBundle

Symfony2 Bundle to handle asset dependencies with bower
231 stars 44 forks source link

How I can load all the components bower? #103

Open gbelmm opened 10 years ago

gbelmm commented 10 years ago

{% javascripts "@__js" %}

{% endjavascripts %}
{% stylesheets
"@__css" %}
<link rel="stylesheet" href="{{ asset_url }}" />
{% endstylesheets %}
Spea commented 10 years ago

Currently you can't. But this could be a nice feature, thank you :)

gbelmm commented 10 years ago

is posible read bower.json main in component

ej;

jquery "main": "dist/jquery.js"

Spea commented 10 years ago

I already do this, but right now you can not load all components at once, you have to load them one by one (as described here)