Vue2CoverImage Component for Vue 2.x
npm install vue2-cover-image --save
1. Import the component
import Vue2CoverImage from 'vue2-cover-image';
2.1 Use it globally
Vue.use(Vue2CoverImage);
2.2 Or use it locally
components: {
'vue2-cover-image': Vue2CoverImage
},
3. Update your app or template:
<div>
...
<vue2-cover-image></vue2-cover-image>
...
</div>
See index.html
for example use
Contributions are welcome
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build