V-Spotlight. Tiny reusable Spotlight component for your Vue App
Demo Link - Click Here
This is on GitHub so let me know if I’ve b0rked it somewhere, give me a star if you like it
yarn add v-spotlight
<template>
<v-spotlight background="'https://placehold.it/1000x1000'"></v-spotlight>
</template>
<script>
import VSpotlight from 'v-spotlight';
export default {
components: {
VSpotlight,
},
};
</script>
background
: Add background image for the spotlightposition
: Background image cover positiongit checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
Author: vinayakkulkarni
Live Demo: http://bit.ly/v-spotlight
GitHub: https://github.com/vinayakkulkarni/v-spotlight
#vuejs #javascript #vue-js