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