Skip to content

Commit

Permalink
docs: update README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
fwm227 committed Jul 19, 2019
1 parent efe953c commit eb09a35
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> The bar-chart visualization plugin
[![Build Status](https://travis-ci.org/reming0227/bar-chartjs.svg?branch=master)](https://travis-ci.org/reming0227/bar-chartjs) [![Version](https://img.shields.io/badge/npm-1.1.0-blue.svg)](https://www.npmjs.com/package/bar-chartjs)
[![Build Status](https://travis-ci.org/reming0227/bar-chartjs.svg?branch=master)](https://travis-ci.org/reming0227/bar-chartjs) [![Version](https://img.shields.io/badge/npm-1.1.1-blue.svg)](https://www.npmjs.com/package/bar-chartjs)

## 📦 Installation

Expand All @@ -13,6 +13,18 @@ yarn add bar-chartjs

## 🔨 Usage

### CDN Import

```html
<script type="text/javascript" src="https://unpkg.com/line-chartjs/lib/index.min.js"></script>
```

### Module Import

```javascript
import BarChart from 'bar-chartjs';
```

```html
<canvas id="canvas" width="600" height="400"></canvas>
```
Expand Down

0 comments on commit eb09a35

Please sign in to comment.