Socket
Socket
Sign inDemoInstall

vue-google-charts

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-google-charts

Reactive Vue.js wrapper for Google Charts lib


Version published
Weekly downloads
25K
increased by21.56%
Maintainers
1
Weekly downloads
 
Created
Source

vue-google-charts

npm npm vue2

Reactive Vue.js wrapper for Google Charts lib

Table of contents

Installation

npm i vue-google-charts

Default import

Install all the components:

import Vue from 'vue'
import VueGoogleCharts from 'vue-google-charts'

Vue.use(VueGoogleCharts)

Use specific modules:

import Vue from 'vue'
import { Test } from 'vue-google-charts'

Vue.component('test', Test)

Browser

<script src="vue.js"></script>
<script src="vue-google-charts/dist/vue-google-charts.browser.js"></script>

The plugin should be auto-installed. If not, you can install it manually with the instructions below.

Usage

TODO

Example

TODO


Plugin Development

Installation

The first time you create or clone your plugin, you need to install the default dependencies:

npm i

Watch and compile

This will run webpack in watching mode and output the compiled files in the dist folder.

npm run dev

Use it in another project

While developping, you can follow the install instructions of your plugin and link it into the project that uses it.

In the plugin folder:

npm link

In the other project folder:

npm link vue-google-charts

This will install it in the dependencies as a symlink, so that it gets any modifications made to the plugin.

Manual build

This will build the plugin into the dist folder in production mode.

npm run build

License

MIT

Keywords

FAQs

Package last updated on 28 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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