How to use
4 |
5 |
6 | npm install vue-particle-line --save
7 |
8 |
9 |
10 | 11 | 12 |
Main.js file
14 |
15 | import Vue from 'vue'
16 | import vueParticleLine from 'vue-particle-line'
17 | import 'vue-particle-line/dist/vue-particle-line.css'
18 | Vue.use(vueParticleLine)
19 |
20 | 22 |
App.vue file - Simple example
24 |
25 | {{appCode}}
26 |
27 | 29 |
Props
31 | 32 || Prop | 37 |Type | 38 |Default | 39 |Description | 40 |
|---|---|---|---|
| lineWidth | 45 |String | 46 |0.3 | 47 |Lines width | 48 |
| dotsNumber | 51 |Number | 52 |100 | 53 |54 | Dots Number 55 | | 56 |
| dotsDistance | 59 |Number | 60 |100 | 61 |62 | Far as points to connect 63 | | 64 |
| hoverEffect | 67 |Boolean | 68 |true | 69 |70 | Mouse hover events 71 | | 72 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ## vue-particle-line
2 |
3 | 
4 | 
5 |
6 | ### How to use
7 | ```
8 | npm install vue-particle-line --save
9 | ```
10 |
11 | ### Main.js file
12 | ```javascript
13 | import Vue from 'vue'
14 | import vueParticleLine from 'vue-particle-line'
15 | import 'vue-particle-line/dist/vue-particle-line.css'
16 | Vue.use(vueParticleLine)
17 | ```
18 |
19 | ### App.vue file - Simple example
20 | ```html
21 |
22 |