Sha256: 33b8acea6524b38f9a2dabb6316721c3b71f12612aca554cebec706b18f796cd

Contents?: true

Size: 1.47 KB

Versions: 4

Compression:

Stored size: 1.47 KB

Contents

# JquerySlickRails

[![Gem Version](https://badge.fury.io/rb/jquery-slick-rails.svg)](http://badge.fury.io/rb/jquery-slick-rails)

A ruby gem that uses the Rails asset pipeline to include the jQuery Slick plugin by Ken Wheeler
(https://kenwheeler.github.io/slick/).

## Installation

Add this line to your application's Gemfile:

    gem "jquery-slick-rails"

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install jquery-slick-rails

NOTE: this is a jQuery plugin so you will also need the `jquery-rails` gem:

* https://github.com/rails/jquery-rails

## Usage

In your `application.js` you will need to add this line:

    //= require jquery.slick

and this line

    @import 'slick';

into your `application.css.scss`.

Starting from version **1.4.0** Slick provides an optional theme, so if you want to employ default styling, include
the following line:

    @import 'slick-theme';

You may use [this](https://github.com/bodrovis/jquery-slick-rails-demo) simple Rails app as an example.

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

## License

This plugin is licensed under the [MIT License](https://github.com/bodrovis/jquery-slick-rails/blob/master/LICENSE.txt).

Copyright (c) 2015 [Ilya Bodrov](http://radiant-wind.com)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jquery-slick-rails-1.5.0 README.md
jquery-slick-rails-1.4.1 README.md
jquery-slick-rails-1.4.0.3 README.md
jquery-slick-rails-1.4.0pre1 README.md