From 51126a51096bce9376585ddc976f561b2aa33f7f Mon Sep 17 00:00:00 2001 From: Martin Arce <54085409+divagueame@users.noreply.github.com> Date: Wed, 18 Feb 2026 21:21:19 +0100 Subject: [PATCH 1/2] Enhance NuxtImg documentation with preload props example Added example for passing an object to the preload prop to define fetch priority. --- docs/content/2.usage/1.nuxt-img.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/content/2.usage/1.nuxt-img.md b/docs/content/2.usage/1.nuxt-img.md index a252e11fb..7f56bd534 100644 --- a/docs/content/2.usage/1.nuxt-img.md +++ b/docs/content/2.usage/1.nuxt-img.md @@ -368,6 +368,12 @@ In case you want to preload the image, use this prop. This will place a correspo ``` +Passing an object to the preload prop lets you define the fetchpriority of the link tag. + +```vue + +``` + ### `loading` This is a [native](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/loading) attribute that provides a hint From a975455e6fdeed53127003133a6f2a6d787a3cf8 Mon Sep 17 00:00:00 2001 From: divagueame Date: Mon, 23 Feb 2026 22:41:57 +0100 Subject: [PATCH 2/2] Add possible values of preload + Casing clarification --- docs/content/2.usage/1.nuxt-img.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/content/2.usage/1.nuxt-img.md b/docs/content/2.usage/1.nuxt-img.md index 7f56bd534..d1df456ed 100644 --- a/docs/content/2.usage/1.nuxt-img.md +++ b/docs/content/2.usage/1.nuxt-img.md @@ -368,7 +368,9 @@ In case you want to preload the image, use this prop. This will place a correspo ``` -Passing an object to the preload prop lets you define the fetchpriority of the link tag. +Passing an object to the preload prop lets you define the `fetchPriority` property. +Note that the JavaScript property `fetchPriority` maps to the [`fetchpriority`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/fetchpriority) HTML attribute in the preload link tag. +Accepted values are `auto`, `high`, or `low`. ```vue