0.0.1 • Published 4 months ago

vanta-vue v0.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

vanta-vue - 2024 revamp of vue-vanta npm

Animated website backgrounds in a few lines of code.

How to use?

npm install vanta-vue

Example

<template>
  <v-vanta effect="net" :options=options></v-vanta>
</template>

<script>
  import VVanta from 'vanta-vue';
  export default {
    components: { VVanta },
    data () {
      return {
        options: {
            mouseControls: true,
            touchControls: true,
            minHeight: 500.00,
            minWidth: 200.00,
            scale: 1.00,
            scaleMobile: 1.00
        }
      }
    }
  }
</script>

Options

PropertyDescriptiontypedefault
effectStringbirds
optionsEach effect has its own specific parameters. Explore them all at www.vantajs.com!Object
0.0.1

4 months ago