@nuxtjs/cloudinary

Cloudinary module for Nuxt
80,281 252
Install
npm install @nuxtjs/cloudinary
Latest Version:4.1.0
Vue:3
License:MIT
Last Updated:Sep 17, 2026
Links: GitHub  ·  npm
Maintainer: mayashavin

@nuxtjs/cloudinary

@nuxtjs/cloudinary

npm version npm downloads Github Actions CI Codecov License

Cloudinary integration with for Nuxt

This is a module for version 3.X of Nuxt. If you are looking for Nuxt 2.X support check out the following branch and the legacy documentation here

Features

  • Nuxt 3 ready
  • Useful CldImage, CldOgImage & CldVideoPlayer components
  • Handy useCldImageUrl composable
  • Automatically optimize images and deliver in modern formats
  • Remove backgrounds from images
  • Dynamically add image and text overlays to images

📖  Read more

Quick Setup

  1. Add @nuxtjs/cloudinary dependency to your project
yarn add @nuxtjs/cloudinary 
npm install @nuxtjs/cloudinary
  1. Add @nuxtjs/cloudinary to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: ['@nuxtjs/cloudinary'],
})

See module options for more configuration options.

  1. Create .env file with following CLOUDINARY_CLOUD_NAME variable:
CLOUDINARY_CLOUD_NAME=<YOUR_CLOUDINARY_CLOUD_NAME>

And that's it! You can now use Cloudinary in Nuxt ✨

<template>
  <CldImage
    src="cld-sample-5"
    width="987"
    height="987"
    alt="My Awesome Image"
  />
</template>

Development

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using npm run dev

License

MIT License

Related Packages

nuxt-dynamic-images

Dynamiclly create social media preview images with Nuxt

687 1
nuxt-define

One utility function for module authors to define compiler constants for all bui...

13,412,511
@lg2/nuxt3-module-create-dato-map

nuxt3-module-create-dato-map

2,869 0
nuxt-csurf

Nuxt Cross-Site Request Forgery (CSRF) Prevention

6,263,746 91

Version History

Version Released License
4.1.0 MIT
4.0.0 MIT
3.1.1 MIT
3.1.0 MIT
3.0.1 MIT
Pre-releases (14)
Version Released License
4.0.0-rc.1 MIT
3.0.0-rc.4 MIT
3.0.0-rc.3 MIT
3.0.0-rc.2 MIT
3.0.0-rc.1 MIT