Twig Assetic Stylesheets Among Several Templates

前端 未结 1 1628
陌清茗
陌清茗 2021-01-21 07:53

I\'m trying to add stylesheets to an array so that as twig templates extend through a second and third levels the aggregated styles will carry through.

This topic is r

相关标签:
1条回答
  • 2021-01-21 08:41

    This is not possible right now because Assetic statically analyzes your templates to find any assets you've defined there. Supporting these dynamic cases is on the roadmap.

    0 讨论(0)
提交回复
热议问题