【发布时间】:2015-09-07 14:06:06
【问题描述】:
有没有办法在 Volt 应用程序中设置autoprefixer?
【问题讨论】:
标签: voltrb autoprefixer
有没有办法在 Volt 应用程序中设置autoprefixer?
【问题讨论】:
标签: voltrb autoprefixer
我自己还没有尝试过,但您可能可以使用https://github.com/ai/autoprefixer-rails#sprockets 并从 config/initializers/server/ 中的 .rb 文件中执行 sprockets 设置说明,如果您可以使用,请告诉我。
试试这样的:
require "autoprefixer-rails"
AutoprefixerRails.install(Volt.current_app.sprockets)
【讨论】: