An open API service indexing awesome lists of open source software.

https://github.com/pajaydev/anijs-rails

This gem just includes ani.min.js and anicollection.css as an asset in the Rails
https://github.com/pajaydev/anijs-rails

Last synced: 11 months ago
JSON representation

This gem just includes ani.min.js and anicollection.css as an asset in the Rails

Awesome Lists containing this project

README

          

# Anijs::Rails

Gem to add animations and web design without coding, You can easily use animations in your Rails application by using this gem.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'anijs-rails'
```

And then execute:

$ bundle install

Or install it yourself as:

$ gem install anijs-rails

## Usage

1. Add these lines to your assets.rb file
Rails.application.config.assets.precompile += %w( anicollection.css )
Rails.application.config.assets.precompile += %w( anijs-min.js )
adasd
2. Add these lines to application.html.erb
<%= javascript_include_tag 'anijs-min' %> (add this line to bottom of your html file, after