20 |
21 | This is the Vue.js version of FunnelGraph.js, learn more about the library and see documentation [here.](https://github.com/greghub/funnel-graph-js)
22 |
23 | ## Demo
24 |
25 | #### Online Demo
26 |
27 | [CodePen Demo](https://codepen.io/gregh/full/gEBXPK)
28 |
29 | #### Development Demo
30 |
31 | * Clone the repo
32 | * Navigate to `src` folder
33 | * Run `vue serve example.vue`
34 | * Visit the URL displayed
35 |
36 | ## Installation
37 |
38 | #### NPM
39 | ```js
40 | npm i vue-funnel-graph-js
41 | ```
42 |
43 | #### UNPKG
44 | ```html
45 |
46 | ```
47 |
48 | #### CDN
49 | ```html
50 |
51 | ```
52 |
53 | ## Usage
54 |
55 | After installing, import the `VueFunnelGraph` component:
56 |
57 | ```js
58 | import { VueFunnelGraph } from 'vue-funnel-graph-js';
59 | ```
60 |
61 | You can now use the custom element:
62 | ```vue
63 |