vue.2.4.0.js
Vue图像填充 (vue-imagefill)
The Vue directive for making images fill their containers.
用于使图像填充其容器的Vue指令。
安装 (Install)
$ npm install vue-imagefill
用法 (Usage)
<template>
<div>
<div class="image-wrap" v-flex="1">
<img v-center="img">
</div>
</div>
</template>
import Vue from 'vue'
import vueImagefill from 'vue-imagefill'
import