Skip to content

Commit 1ea87db

Browse files
committed
feat: migrate to Nuxt 3.16 and Nuxt UI 3.0.0
1 parent 73e9258 commit 1ea87db

File tree

3 files changed

+1701
-831
lines changed

3 files changed

+1701
-831
lines changed

app/components/product/ImageGallery.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defineProps<{ images: string[], productTitle?: string }>()
2121
:loading="index === 0 ? 'eager' : 'lazy'"
2222
:fetch-priority="index === 0 ? 'high' : 'low'"
2323
draggable="false"
24-
class="max-w-[300px] max-h-[300px] md:min-w-[500px] md:max-w-[500px] md:max-h-[500px] object-contain"
24+
class="max-w-[300px] max-h-[300px] md:min-w-[500px] md:max-w-[500px] md:max-h-[500px] object-contain text-center mx-auto"
2525
sizes="300px md:500px"
2626
fit="contain"
2727
/>

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,15 @@
2424
"@nuxt/eslint": "^0.7.2",
2525
"@nuxt/eslint-config": "^0.7.2",
2626
"@nuxt/image": "^1.9.0",
27-
"@nuxt/scripts": "0.10.5",
28-
"@nuxt/ui": "3.0.0-beta.2",
27+
"@nuxt/scripts": "0.11.1",
28+
"@nuxt/ui": "3.0.0",
2929
"@nuxtjs/robots": "5.0.1",
3030
"@nuxtjs/sitemap": "7.0.0",
31-
"@unhead/vue": "^1",
3231
"eslint": "9.16.0",
3332
"lint-staged": "^15.2.10",
34-
"nuxt": "^3.15.4",
33+
"nuxt": "^3.16.0",
3534
"nuxt-lazy-hydrate": "^1.0.0",
36-
"nuxt-og-image": "^4.0.1",
35+
"nuxt-og-image": "^5.0.2",
3736
"prettier": "^3.4.2",
3837
"typescript": "^5.7.2"
3938
},

0 commit comments

Comments
 (0)