vue-pretty-box
v1.0.6
Published
Vue-Pretty-Box is a powerful library designed specifically for VueJS 3, providing enhanced image viewing capabilities within your Vue applications. This versatile library allows you to effortlessly integrate zoom functionality for both single images and i
Downloads
42
Maintainers
Readme
Vue Prettybox
It is a tool dependency that allows you to open or zoom image just by click it. It helps you to view the image to have a better look of it without making zoom in on your browser.
Getting started
Installation
You can install vue-pretty-box using yarn add vue-pretty-box
, npm install vue-pretty-box
, or pnpm install vue-pretty-box
.
Import components
You can import the components with the following code:
import {
SingleImage,
ImageGallery,
ImageGalleryMasonry,
ProductGallery
} from "vue-pretty-box";
Import CSS/SCSS
@import "vue-pretty-box/vue-pretty-box.css";
/* or */
@import "vue-pretty-box/vue-pretty-box.scss";