项目
在 GitHub 查看
nuxt-modules/cloudinary
关于
Cloudinary Module for Nuxt
网站与应用开发可以做什么
- Useful CldImage, CldOgImage & CldVideoPlayer components
- Handy useCldImageUrl composable
- Automatically optimize images and deliver in modern formats
- Remove backgrounds from images
实测星标增长
- 24小时
- -2
- 7天
- -2
- 15天
- -2
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文@nuxtjs/cloudinary
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&CldVideoPlayercomponents - Handy
useCldImageUrlcomposable - Automatically optimize images and deliver in modern formats
- Remove backgrounds from images
- Dynamically add image and text overlays to images
Quick Setup
- Add
@nuxtjs/cloudinarydependency to your project
yarn add @nuxtjs/cloudinary
npm install @nuxtjs/cloudinary
- Add
@nuxtjs/cloudinaryto themodulessection ofnuxt.config.ts
export default defineNuxtConfig({
modules: ['@nuxtjs/cloudinary'],
})
See module options for more configuration options.
- Create .env file with following
CLOUDINARY_CLOUD_NAMEvariable:
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
- Clone this repository
- Install dependencies using
yarn installornpm install - Start development server using
npm run dev
License
探索相关项目
加载中…
