Spree Commerce

Try It Now

Extensions Now Support Images

Posted on August 19, 2008 by Sean Schofield

Extensions now support images, javascripts and stylesheets. When you start your Spree application the contents of your extension’s public directory will be copied over to the application’s public directory. This means that extensions can make use of images and scripts now.

Stylesheets are technically available (in that they are copied to the public/stylesheets directory) but there is not currently a mechanism for including the stylesheets in your layout. We’re happy to consider a patch for this if someone out there is interested in writing one.

If you’re curious about the Spree extension system, we’re hoping to add some more information to the website and the wiki in the coming weeks.