Sha256: eb41eaec0ca55d5749d976067e2ed84f5be6674998ba4cbb47848ead035fc35e

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

# OwlCarousel-2-Rails

This gem bundles [OwlCarousel2](https://github.com/OwlCarousel2/OwlCarousel2)
for the Rails asset pipeline.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'owlcarousel2'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install owlcarousel2

## Configuration

Add this line to your application.js

```javascript
//= require owlcarousel2/owl.carousel
```

Add these lines to app/assets/stylesheets/application.css

```css
@import 'owlcarousel2/owl.carousel';
```
_Optional_:
```css
@import 'owlcarousel2/owl.theme.default';
```
OR
```css
@import 'owlcarousel2/owl.theme.green';
```
## Usage
Check out the official
[repo](https://github.com/OwlCarousel2/OwlCarousel2#usage) or search the official documentation [documentation](https://owlcarousel2.github.io/OwlCarousel2/)

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/git-jls/owlcarousel2-rails.

## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
owlcarousel2-2.2.0.pre.4.pre.g22132e0 README.md