snap_svg-rails
Snap.svg for the Rails asset pipeline.
Installation
Add this line to your application's Gemfile:
gem 'snap_svg-rails', '~> 0.4.1'
And then execute:
bundle install
Add the JS to your application.js:
//= require snap_svg
Usage
Use exactly as described in the Snap.svg documentation.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/fishpercolator/snap_svg-rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the MIT License.