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
- Host: GitHub
- URL: https://github.com/pajaydev/anijs-rails
- Owner: pajaydev
- License: mit
- Created: 2017-01-14T18:07:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-16T01:32:47.000Z (over 9 years ago)
- Last Synced: 2025-06-23T20:16:50.466Z (about 1 year ago)
- Language: Ruby
- Size: 35.2 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
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