We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2182f44 commit ef795b9Copy full SHA for ef795b9
2 files changed
README.md
@@ -38,6 +38,19 @@ but must be set via standard options e.g. `ChartJsProvider.setOptions({ responsi
38
39
### bower
40
41
+Bower support has been dropped in Chart.js since version 2.2.0 but you can still use it with Bower thanks to bower-npm-resolver.
42
+
43
+First, add the resolver in your .bowerrc file:
44
45
+ {
46
+ "resolvers": [
47
+ "bower-npm-resolver"
48
+ ]
49
+ }
50
51
+Then:
52
53
+ npm install -g bower-npm-resolver
54
bower install --save angular-chart.js
55
56
### manually
bower.json
@@ -39,6 +39,6 @@
],
"dependencies": {
"angular": "1.x",
- "Chart.js": "2.x"
+ "chart.js": "npm:chart.js#2.x"
}
0 commit comments