### Project Development Setup and Commands Source: https://github.com/haiafara/vue-it-bigger/blob/master/README.md Instructions for setting up the development environment for the Vue It Bigger project. This involves cloning the repository, installing dependencies, and running development, testing, and build commands. ```bash yarn install yarn dev ``` ```bash yarn test yarn lint ``` ```bash yarn build ``` -------------------------------- ### Install Vue It Bigger using npm or yarn Source: https://github.com/haiafara/vue-it-bigger/blob/master/README.md This snippet shows how to install the vue-it-bigger package using either npm or yarn. These are the standard package managers for Node.js projects. ```bash npm install vue-it-bigger # or yarn add vue-it-bigger ``` -------------------------------- ### Vue 3 Composition API with Script Setup for Lightbox Source: https://context7.com/haiafara/vue-it-bigger/llms.txt Shows how to integrate the vue-it-bigger lightbox with Vue 3's Composition API using the script setup syntax. It utilizes template refs to access component methods for programmatic control and handles various events. Dependencies include 'vue-it-bigger' and its CSS. ```vue ``` -------------------------------- ### Define media structure for Vue It Bigger Source: https://github.com/haiafara/vue-it-bigger/blob/master/README.md This JavaScript object defines the structure for the 'media' prop used by the LightBox component. It includes examples for images, YouTube videos, and self-hosted videos, specifying properties like 'type', 'thumb', 'src', 'id', 'sources', 'caption', 'width', and 'height'. ```javascript [ { // For an image type: 'image', // Can be omitted for image thumb: 'http://example.com/thumb.jpg', src: 'http://example.com/image.jpg', caption: 'Caption to display. HTML enabled', // Optional srcset: '...' // Optional for displaying responsive images }, { // For a YouTube video type: 'youtube', thumb: 'https://img.youtube.com/vi/WsptdUFthWI/hqdefault.jpg', id: 'WsptdUFthWI', caption: 'HTML enabled caption to display' // Optional }, { // For a video that can be played in the