@fanjiongrong/vue-imgview
v1.0.0
Published
a plugin to look at image,used like totast ,very simple
Downloads
2
Readme
vue-imgview
a plugin to look at image,used like totast ,very simple
一个查看图片的插件,使用方法同totast 类似 。
使用方法 steps
1 npm i vue-imgview -S
2 import ImgView from 'ImgView'
3 Vue.use(ImgView)
4 this.$showImgView(url);
or 直接引入在html 中 import in html file
1
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
For detailed explanation on how things work, consult the docs for vue-loader.