How to use SCSS filter in Symfony2 under Windows?

前端 未结 3 908
失恋的感觉
失恋的感觉 2020-12-10 21:40

Actually, this is two questions:

  1. What is the correct way to use the SCSS filter in my Symfony project in Windows (in Twig templates) ? I mean, how do i use

3条回答
  •  感动是毒
    2020-12-10 22:20

    In my case after hours of searching and trying many solutions, this worked for me:

    In 'app/config/config.yml' add:

    parameters:
    # Assetic
    assetic.filter.compass.bin: D:/Ruby193/bin/compass
    

    D:/Ruby193/bin/compass will depend on your Ruby path.

    See screenshot: http://s23.postimg.org/3n2oc5wh7/MY_SOLUTION_THAT_I_FOUND.jpg

    My system: Windows 7 ultimate, Ruby 1.9.3, Symfony 2.4.3

提交回复
热议问题