Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Package your assets transparently in Sinatra.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
lib/sinatra
test
HISTORY.md
README.md
Rakefile
sinatra-assetpack.gemspec

README.md

Sinatra AssetPack

Asset packer for Sinatra

This is the most convenient way to set up your CSS/JS (and images) in a Sinatra app. Seriously. No need for crappy routes to render Sass or whatever. No-siree!

  1. Drop your JavaScript/CoffeeScript files in /app/js
  2. Drop your CSS/sass/less/scss files in /app/css
  3. Add register Sinatra::AssetPack and set up options to your app
  4. Use <%= css :application %> to your layouts instead of messy
Something went wrong with that request. Please try again.