1.0.1 • Published 5 years ago

nuxt-cloudinary-module v1.0.1

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
5 years ago

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"
]
1.0.1

5 years ago

1.0.0

5 years ago