Project

d4-rails

0.0
No commit activity in last 3 years
No release in over 3 years
D4-Rails allows easy integration of d4 DSL with Rails App
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.3
>= 0

Runtime

< 5, > 3.2
 Project Readme

d4-rails

Integrate d4 DSL (for d3 library) with your rails application

Pre-requisites:

For Rails 3.2+

Installling

Install the gem by

gem install d4-rails

OR

Include the gem in your Gemfile and run bundle install.

gem 'd4-rails'

require d3 and d4 (minified) in your application.js

//= require 'd3.min'
//= require 'd4.min'

Also, require d4.css in your application.css

*= require 'd4'

That's it! 🙏

Contributing

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

Note

This project uses MIT-LICENSE.