plugin-prefetch-pic
v1.0.1
Published
A non-global component for prefetching images.
Downloads
5
Readme
使用:
npm install plugin-prefetch-pic
// 需要缓存的图片链接
const prefetchList = ['http://pic1.png','http://pic2.png']
import prefetchPic from 'plugin-prefetch-pic' app.use(prefetchPic, prefetchList)