Tuesday, 10 September 2013

Rails pipets assline and YUI

Rails pipets assline and YUI

Does anyone know how to use YUI with Rails? If I call,
<link rel="stylesheet" type="text/css"
href="http://developer.yahoo.com/yui/build/menu/assets/skins/sam/menu.css">
it works. BUT if I use my own folder and do something like this,
<link rel="stylesheet" type="text/css"
href="../../../vendor/yui/build/menu/assets/skins/sam/menu.css">
it does NOT work. These files, css and js, will not communicate with each
other if dissected from their folders and placed adjacently under
app/assets, the way Rails requires. I don't care about compressing and
minimizing anything. I just want it to work.

No comments:

Post a Comment