Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Grails Asset-pipeline does not load angular partial templates

Im using angular-ui-bootstrap with Grails 2.3.x asset-pipeline:1.6.1 plugin. One of the components - alert.js is attempting to load /template/alert/alert.html but this resolves to 404.

I tried including grails.assets.includes=[*/.html], did not help.

Any workaround for this? Anyway to let asset-pipeline include partial templates?

like image 540
vasya10 Avatar asked Feb 28 '14 05:02

vasya10


1 Answers

Is template located in assets, if so remember the first level folders inside of assets are flattened so you may want to nest your templates one more level or adjust your path

like image 132
davydotcom Avatar answered Oct 31 '22 13:10

davydotcom