You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to your scripts. See [Codepen](https://codepen.io/apertureless/pen/zEvvWM)
44
45
45
-
## Explanation of Different Builds
46
-
There are three different entry points. It depends on which build setup do you have. The dependencies are bundled or required as a peerDependency.
47
-
48
-
- Browser
49
-
- Browserify / Webpack 1
50
-
- Webpack 2
51
-
52
-
| Build | Chart.js |
53
-
|---|---|
54
-
| vue-chartjs.full.js | Bundled |
55
-
| vue-chartjs.full.min.js | Bundled |
56
-
| vue-chartjs.js | peerDependency |
57
-
| vue-chartjs.min.js | peerDependency |
58
-
| es/index*| peerDependency |
59
46
60
47
### Browser
61
-
You can use `vue-chartjs` directly in the browser without any build setup. Like in this [codepen](https://codepen.io/apertureless/pen/zEvvWM). For this case, please use the `vue-chartjs.full.min.js` which is the minified version. It has Chart.js bundled into it. And bundled to a UMD Module. So you only need that one file.
48
+
You can use `vue-chartjs` directly in the browser without any build setup. Like in this [codepen](https://codepen.io/apertureless/pen/zEvvWM). For this case, please use the `vue-chartjs.min.js` which is the minified version. You also need to add the Chart.js CDN script.
0 commit comments