nuxt-cloudinary-module
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

nuxt-cloudinary-module

Import the Cloudinary core library into your Nuxt project as this.$cl

Getting started

Install the dependency through your package manager:

npm install nuxt-cloudinary-module

or

yarn add nuxt-cloudinary-module

Add it to the modules section of your nuxt.config.js, passing in your Cloudinary "cloud name", and an optional value "secure" to indicate whether to always load urls as HTTPS

{
  modules: [
    ['nuxt-cloudinary-module', { cloud_name: process.env.CLOUDINARY_CLOUD_NAME, secure: true }],
  ]
}

Typescript users

Add the types in tsconfig.json

"types": [
  // ... //,
  "nuxt-cloudinary-module"
]

Package Sidebar

Install

npm i nuxt-cloudinary-module

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

2.79 kB

Total Files

8

Last publish

Collaborators

  • joe-pritchard