本文介绍了在Compass中(通过Assetic)如何为Symfony2包括一个插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了指南针-rgbapng插件,但正在努力使其包含在Symfony2中使用.

I have installed the compass-rgbapng plugin, but am struggling to to include the plugin for use in Symfony2.

我需要将require "rgbapng"添加到指南针配置文件中,但是我不确定如何通过Symfony2执行此操作.

I need to add the require "rgbapng" to the compass config file, but I am unsure how to do this through Symfony2.

有人知道我该怎么做吗?

Does anyone know how I can do this?

推荐答案

我认为app/config/config.yml中的类似内容应该会有所帮助:

I think something like that in app/config/config.yml should helps:

# Assetic Configuration
assetic:
    filters:
        compass:
            plugins:
                - rgbapng

这篇关于在Compass中(通过Assetic)如何为Symfony2包括一个插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-15 22:06