css3 - Including LESS/SASS framework in RhoMobile Studio -


how include less or sass css framework in rhomobile application?? want application recognize .less or .css.scss files,use mixins , media queries. how can achieve that?? thanks.

update: after installing sass gem , running task created in rake file,my original css file not getting executed , in console output:

cmd: vcbuild/m4 rhodes.sln "release |win32" *rake aborted!* no such file or directory - vcbuild

you need preprocess , convert css before compiling. done creating rake task preprocess scss files, generating css output and, finally, invoking actual rhodes compile task.

update:

you installing sass gem (gem install sass) , adding end of rakefile:

task :compile_scss_and_run   dir.chdir $app_path     system "scss --update public\\css\\*.scss"   end   rake::task["run:win32"].invoke end 

please change 'run:win32' task used compile rhodes app. after, run on command line: rake compile_scss_and_run.

in layout.erb file must reference *.css files , not originals *.scss.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -