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.
我正在开发一个简单的网站。我想为我的javascript 使用coffeescript,所以我使用Assetic 来编译它。
如何将已编译的 javascript 资产转储到网页本身而不是添加到外部文件的链接?这是一个移动应用程序,所以我想将网络流量保持在最低限度
里面{% javascripts %}你只能使用asset_url。扩展不会设置任何其他内容。
{% javascripts %}
asset_url