Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@
"stackblitz": "cd .stackblitz && yarn && yarn dev"
},
"dependencies": {
"@cloudinary-util/url-loader": "^5.6.0",
"@cloudinary-util/types": "1.2.0",
"@cloudinary-util/url-loader": "^5.6.0",
"@nuxt/image": "^1.8.0",
"@nuxt/kit": "^3.11.2",
"@unpic/vue": "^0.0.48",
"defu": "^6.1.4"
Expand All @@ -68,5 +69,6 @@
"stackblitz": {
"installDependencies": false,
"startCommand": "yarn stackblitz"
}
},
"packageManager": "[email protected]+sha512.9df87c16c98db27b4e051d787e67f2207ec47e809ccb07bf7b5ec4acdcd1613355839a38d0b900144923d6a7057700b74d2a0ccb1558beb241647a1206a9a7ab"
}
12 changes: 6 additions & 6 deletions playground/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ const colors = {
<CldOgImage
src="cld-sample-2"
twitter-title="test"
width="1620"
height="1080"
alt="Sample Product"
/>
<CldVideoPlayer
ref="cldVideoRef"
Expand Down Expand Up @@ -76,15 +79,12 @@ const colors = {
Upload
</CldUploadButton>
<CldImage
src="cld-sample-5"
width="987"
height="987"
src="/images/sneakers"
width="900"
height="900"
alt="Sample Product"
crop="fill"
priority
sizes="(max-width: 600px) 480px,
800px"
:replace-background="{ prompt: 'fish tank', seed: 3 }"
/>
<CldImage
src="cld-sample-5"
Expand Down
1 change: 1 addition & 0 deletions playground/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export default defineNuxtConfig({
modules: ['../src/module'],
cloudinary: {
cloudName: 'nuxt-cloudinary',
apiKey: '123',
url: {},
cloud: {},
},
Expand Down
Loading
Loading