Sass @import directive when used in Rails engine can't find assets in plugins

前端 未结 2 1430
庸人自扰
庸人自扰 2021-01-14 13:25

I was building a Rails engine that uses zurb-foundation\'s stylesheets, and kep hitting the same Sass::Syntax error. This seemed strange because I had followed the same pro

2条回答
  •  日久生厌
    2021-01-14 14:06

    Hey guys I solved this problem, it took me like 5 hours to find out how to solve it (sorry about my english, is not my native language).

    The normal installation of Foundation in Rails it didn't work for my Engine, so I did it manually:

    I added this line to the application.html.erb:

    And tha's all, this is the way that I get my engine working with Foundation,

提交回复
热议问题