Skip to content

This project packages the Vegas Background jQuery plugin from Jay Salavat as a gem. Use it with the Rails 3.1 asset pipeline.

Notifications You must be signed in to change notification settings

smaboshe/pcs_vegas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pcs_vegas

Preamble

pcs_vegas is a gem that packages the asset files used in Jay Salvat's Vegas Background jQuery plugin.

Setup

In a Rails 3.1.x project add the gem to your assets group in your Gemfile. It is currently in pre-release:

gem "pcs_vegas", "~> 0.0.1.alpha"

Bundle the gem using bundler:

bundle

Once your bundle is updated, you can automatically add the assets to your CSS and Javascript manifest files using the generator:

rails generate vegas:install

Alternatively, you can manually require the assets by adding:

//= require vegas

to your application.js and

*= require vegas

to your application.css.

You may need to restart your application for the changes to reflect (I find this behaviour a bit odd and am looking in to why).

Usage

Once the setup is complete, you'll be able to use the plugin. You can learn more about it from the plugin website.

Enjoy!

About

This project packages the Vegas Background jQuery plugin from Jay Salavat as a gem. Use it with the Rails 3.1 asset pipeline.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages