Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我发现了这个: http ://www.symfony-zone.com/wordpress/2008/12/13/use-routing-to-server-localized-and-dynamic-javascript/
但我看到它已经通过use_dynamic_javascript() AssetHelper 内置到 Symfony 中。
不过,我找不到任何使用此帮助程序的文档。任何示例,链接或任何帮助?谢谢。
我最终使用了这种方法。
也许这可以帮助:howto use use_dynamic_javascript helper