Skip to content

Commit 7aae891

Browse files
authored
Merge pull request #25 from fusioncharts/readme-fix/removed-component-base-usage
Removed component base usage for now, creating another issue for this
2 parents f4be91a + defc4c6 commit 7aae891

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

README.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,6 @@ Download [`vue-fusioncharts.js`](https://github.com/fusioncharts/vue-fusionchart
2626

2727
## Getting Started
2828

29-
### ES6 Module
30-
31-
```js
32-
import Vue from 'vue';
33-
import VueFusionCharts from 'vue-fusioncharts';
34-
35-
// import FusionCharts modules and resolve dependency
36-
import FusionCharts from 'fusioncharts/core'
37-
import Pie2D from 'fusioncharts/viz/pie2d'
38-
39-
// register VueFusionCharts component
40-
Vue.use(VueFusionCharts, FusionCharts, Pie2D);
41-
```
42-
4329
### CommonJS
4430

4531
```js
@@ -143,20 +129,6 @@ Use the `Vue.use` method to register the component globally.
143129
Vue.use(VueFusionCharts, FusionCharts, Charts);
144130
```
145131

146-
### Register Locally
147-
148-
Use the `Vue.component` method to register the component locally.
149-
150-
```js
151-
// es6 style
152-
import { FCComponent } from 'vue-fusioncharts'
153-
154-
// CommpnJS
155-
const FCComponent = require('vue-fusioncharts').FCComponent;
156-
157-
Vue.component('fusioncharts', FCComponent);
158-
```
159-
160132
### Component Props
161133

162134
* `options`

0 commit comments

Comments
 (0)