This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

vue-cloudinary-plugin

0.0.5 • Public • Published

vue-cloudinary-plugin

Pluging used only for building URL to cloudinary image based on imageId Inspired by vue-cloudinary

Usage

Init

Vue.use(VueCloudinary, {
  "cloud_name": "<your cloud name>",
  "api_key": "<your api key>",
  "cdn_subdomain": true,
  ... (*)
}, {
  "crop": "<crop value>",
  "fetch_format": "<fetch_format>",
  // others default values for mods 
});

Usage

In template just call

// pass all reuired mods as 2nd arg, or just {} to apply only default
<img :src="$cloudinaryUrl(imageId, {width: xxx, height: xxx, ...} )" />

License

MIT

/vue-cloudinary-plugin/

    Package Sidebar

    Install

    npm i vue-cloudinary-plugin

    Weekly Downloads

    5

    Version

    0.0.5

    License

    MIT

    Last publish

    Collaborators

    • cuzzz
    • karmazzin
    • sheknowsmedia
    • sheknowsnpm