https://github.com/anthinkingcoder/vue-image-magnifier
商品主图放大镜:https://codepen.io/zhoulin/pen/dLOgPP
https://github.com/anthinkingcoder/vue-image-magnifier
Last synced: 4 months ago
JSON representation
商品主图放大镜:https://codepen.io/zhoulin/pen/dLOgPP
- Host: GitHub
- URL: https://github.com/anthinkingcoder/vue-image-magnifier
- Owner: anthinkingcoder
- License: mit
- Created: 2019-04-08T09:56:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T19:24:07.000Z (almost 3 years ago)
- Last Synced: 2025-06-11T04:26:52.936Z (6 months ago)
- Language: Vue
- Homepage:
- Size: 2.01 MB
- Stars: 15
- Watchers: 1
- Forks: 8
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-image-magnifier
## setup
```
npm install vue-image-magnifier
```
### use
```
import ImageMagnifier from vue-image-magnifier
Vue.use(ImageMagnifier)
//or
import {ImageMagnifier} from vue-image-magnifier
```
### demo
```
npm run demo
```
### live example
> [code open](https://codepen.io/zhoulin/pen/dLOgPP)