Skip to content

Commit

Permalink
feat: 2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Baroshem committed Jul 7, 2023
1 parent c60017b commit 5c7fc2a
Show file tree
Hide file tree
Showing 6 changed files with 822 additions and 862 deletions.
5 changes: 5 additions & 0 deletions .stackblitz/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ console.log(url)
height="987"
alt="Sample Product"
/>
<p>CldOgImage is here. Inspect the html meta to see the result</p>
<CldOgImage
src="cld-sample-2"
twitter-title="test"
/>
<CldImage
src="cld-sample-5"
width="987"
Expand Down
2 changes: 1 addition & 1 deletion .stackblitz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"nuxt": "^3.5.0"
},
"dependencies": {
"@nuxtjs/cloudinary": "^2.0.0"
"@nuxtjs/cloudinary": "^2.1.3"
}
}
1,672 changes: 812 additions & 860 deletions .stackblitz/yarn.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nuxtjs/cloudinary",
"version": "2.0.0",
"version": "2.1.3",
"description": "Cloudinary module for Nuxt",
"license": "MIT",
"type": "module",
Expand Down
1 change: 1 addition & 0 deletions src/runtime/components/CldImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Come back to this after https://github.com/nuxt/nuxt/issues/20936 is fixed
// import type { AssetOptions } from '@cloudinary-util/url-loader'
import { useCldImageUrl } from "../composables/useCldImageUrl";
import { ref } from 'vue'
import { Image } from "@unpic/vue";
import { ConfigOptions } from "@cloudinary-util/url-loader";
Expand Down
2 changes: 2 additions & 0 deletions src/runtime/components/CldOgImage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import type { CldImageProps } from "./CldImage.vue";
import { useCldImageUrl } from "../composables/useCldImageUrl";
import type { ImageOptions } from "@cloudinary-util/url-loader";
import { computed } from 'vue'
import { useRouter } from "#imports";
const TWITTER_CARD = "summary_large_image";
const OG_IMAGE_WIDTH = 2400;
Expand Down

0 comments on commit 5c7fc2a

Please sign in to comment.