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
CldImage, CldOgImage & CldVideoPlayer componentsuseCldImageUrl composable@nuxtjs/cloudinary dependency to your projectyarn add @nuxtjs/cloudinary
npm install @nuxtjs/cloudinary
@nuxtjs/cloudinary to the modules section of nuxt.config.tsexport default defineNuxtConfig({
modules: ['@nuxtjs/cloudinary'],
})
See module options for more configuration options.
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>
yarn install or npm installnpm run devWe use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.