0.1.4 • Published 6 years ago
vue2-cover-image v0.1.4
Vue2CoverImage
Vue2CoverImage Component for Vue 2.x
Install
npm install vue2-cover-image --save
Usage
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>
Example
See index.html
for example use
Contributing
Contributions are welcome
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build