Grails: Can the asset pipeline be called from a taglib to include javascript dependencies? -
i have taglib has dependency on javascript file. utilize asset pipeline include file within taglib.
is possible?
does asset pipeline have functions can called within taglib, providing similar functionality calling following in view:
<asset:javascript src="application.js"/>
thank you.
i have not used asset pipeline. can call tag lib another. try
asset.javascript(src: 'application.js')
Comments
Post a Comment