zoomer-vue3

1.0.55 • Public • Published

bo-zoomer

zoomer/vue3

安装

npm i zoomer-vue3

使用

<script setup>
// 引入文件
import Zoomer from 'bo-zoomer';
</script>
<template>
  <zoomer
    class="goods-detail-zoomer"
    img-src="图片路径"
  />
</template>
<style>
/* 手动添加类名设置宽高 */
.goods-detail-zoomer {
  width: 400px;
  height: 400px;
}
</style>

*注

该组件默认无宽高,根据需求手动设置宽高

Readme

Keywords

Package Sidebar

Install

npm i zoomer-vue3

Weekly Downloads

0

Version

1.0.55

License

MIT

Unpacked Size

4.81 kB

Total Files

6

Last publish

Collaborators

  • tttbo