We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ba09a7 commit b845472Copy full SHA for b845472
README.md
@@ -6,19 +6,26 @@ Integrate Chart.js into Rails Asset Pipeline (current version is 2.5.0)
6
7
Add this line to your application's Gemfile:
8
9
- gem 'chart-js-rails'
+```ruby
10
+gem 'chart-js-rails'
11
+```
12
13
And then execute:
-
- $ bundle
14
+```console
15
+$ bundle
16
17
18
Or install it yourself as:
19
- $ gem install chart-js-rails
20
21
+$ gem install chart-js-rails
22
23
24
Add this to your application.js file:
- //= require Chart
25
+
26
+```javascript
27
+//= require Chart
28
29
30
## Usage
31
0 commit comments