Skip to content

gouravtiwari/d4-rails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published