Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-chart-js

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-chart-js - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

dist/vue-chart-js.min.js

31

package.json
{
"name": "vue-chart-js",
"version": "1.1.0",
"version": "1.2.0",
"description": "Chart.js for VueJs.",
"author": "Kevin Ongko",
"main": "src/vue-chart-js.vue",
"main": "dist/vue-chart-js.min.js",
"scripts": {
"lint": "./node_modules/.bin/eslint --ext .js,.vue src",
"build": "./node_modules/.bin/webpack --hide-modules -p --progress"
},
"repository": {

@@ -25,3 +29,26 @@ "type": "git",

"chart.js": "^2.6.0"
},
"devDependencies": {
"babel-core": "^6.25.0",
"babel-loader": "^7.1.1",
"babel-preset-latest": "^6.24.1",
"clean-webpack-plugin": "^0.1.16",
"css-loader": "^0.28.4",
"eslint": "4.3.0",
"eslint-plugin-vue": "3.10.0",
"vue-loader": "^13.0.4",
"vue-template-compiler": "^2.4.2",
"webpack": "^3.4.1"
},
"babel": {
"presets": [
"latest"
]
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:vue/recommended"
]
}
}

@@ -16,2 +16,34 @@ # vue-chart-js

### Install as Component
```js
import Vue from 'vue'
import VueChart from 'vue-chart-js'
export default {
name: 'App',
components: {
VueChart
}
}
```
### Install as Plugin
```js
import Vue from 'vue'
import VueChart from 'vue-chart-js'
Vue.use(VueChart)
```
### Install via CDN
```html
<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/vue-chart-js"></script>
<script>
Vue.use(Vuechart.default)
</script>
```
## Usage

@@ -18,0 +50,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc