The Cloudinary Vue SDK allows you to quickly and easily integrate your application with Cloudinary. Effortlessly optimize and transform your cloud's assets.
This Readme provides basic installation and usage information. For the complete documentation, see the Vue SDK Guide.
SDK Version Vue 2 Vue 3 1.0.0 - 1.2.3 V Xcloudinary.js
file will be added to your src directory, at the same level as your main.js
file. Feel free to customize it if you like. And have fun with Cloudinary! đ¤npm install cloudinary-vue yarn add cloudinary-vue
For Nuxt.js projects, use Cloudinary module. You can set it up by using the following:
yarn add @nuxtjs/cloudinary
# Or
npm i @nuxtjs/cloudinary
import Vue from 'vue'; import Cloudinary, { CldImage, CldVideo, CldTransformation, CldContext } from "cloudinary-vue"; Vue.use(Cloudinary, { configuration: { cloudName: "demo" }, components: { CldContext, CldImage, CldVideo, CldTransformation, } });
You can also import the Cloudinary components manually in each of your components.
Transform and Optimize Assets// Apply a single transformation <cld-context cloudName="demo"> <cld-image publicId="sample"> <cld-transformation crop="scale" width="200" angle="10" /> </cld-image> </cld-context>
// Chain (compose) multiple transformations <cld-context cloudName="demo"> <cld-image cloudName="demo" publicId="sample"> <cld-transformation angle="-45" /> <cld-transformation effect="trim" angle="45" crop="scale" width="600" /> <cld-transformation overlay="text:Arial_100:Hello" /> </cld-image> </cld-context>
- Use <cld-image> to generate image tags
- Use <cld-video> to generate video Tags
This SDK does not provide file upload functionality, however there are several methods of uploading from the client side.
If you run into an issue or have a question, you can either:
Cloudinary is a powerful media API for websites and mobile apps alike, Cloudinary enables developers to efficiently manage, transform, optimize, and deliver images and videos through multiple CDNs. Ultimately, viewers enjoy responsive and personalized visual-media experiencesâirrespective of the viewing device.
Released under the MIT license.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4