Home

Awesome

vue-particle-line

NPM version MIT Licence

How to use

npm install vue-particle-line --save

Main.js file

import Vue from 'vue'
import vueParticleLine from 'vue-particle-line'
import 'vue-particle-line/dist/vue-particle-line.css'
Vue.use(vueParticleLine)

App.vue file - Simple example

<template>
  <div id="app">
    <vue-particle-line>
      <router-view />
    </vue-particle-line>
  </div>
</template>

Props

PropTypeDefaultDescription
lineWidthNumber0.3connect line width
dotsNumberNumber100dot number
dotsDistanceNumber100far as points to connect
hoverEffectBooleantruemouse hover events

License

MIT