forked from tooky/less-for-rails
-
Notifications
You must be signed in to change notification settings - Fork 1
Plug-and-play for http://lesscss.org/ in Rails apps
License
aslamnd/less-for-rails
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
--~~ Less for Rails ~~-- A plug-and-play hook for the fabulous Less CSS syntax, http://lesscss.org/. If you're deploying to Heroku, go here: http://github.com/augustl/less_for_rails_with_cache_control/tree -- Usage -- 1. Install the gem, `gem install less` 2. Install the plugin, `script/plugin install git://github.com/augustl/less-for-rails.git` 3. Create public/stylesheets/yourfile.less 4. Use <%= stylesheet_link_tag "yourfile" %> in the views, as normal. It will generate one .css for each .less in public/stylesheets. -- It knows about production mode -- In production mode, it only compiles the CSS when the application boots. In development mode, it compiles the CSS all the time, so that you can edit your .less and reload the site to see how it looks. It is very fabolous, and the plugin has won many prizes for this. -- Git -- Are you using Less for all your stylesheets? Perhaps you should add `public/stylesheets/*.css` to your .gitignore. -- Me -- I am August Lilleaas. http://august.lilleaas.net/
Releases
No releases published
Packages 0
No packages published