Skip to content

Update NuxtImg syntax to use v-bind for modifiers#2277

Open
berkaltiok wants to merge 1 commit into
nuxt:mainfrom
berkaltiok:patch-1
Open

Update NuxtImg syntax to use v-bind for modifiers#2277
berkaltiok wants to merge 1 commit into
nuxt:mainfrom
berkaltiok:patch-1

Conversation

@berkaltiok

Copy link
Copy Markdown

This pull request updates the documentation for the Shopify image provider to correct how the modifiers prop is passed to the NuxtImg component. All examples now use the correct Vue binding syntax for props.

Documentation fixes:

  • Updated all NuxtImg usage examples to use :modifiers="{ ... }" instead of modifiers="{ ... }" to properly bind the modifiers prop as an object in Vue. [1] [2] [3] [4]

@berkaltiok berkaltiok requested a review from danielroe as a code owner July 9, 2026 13:03
@coderabbitai

coderabbitai Bot commented Jul 9, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 322bb9a7-a469-467d-a3e8-0e8a47676402

📥 Commits

Reviewing files that changed from the base of the PR and between cb54284 and 265df94.

📒 Files selected for processing (1)
  • docs/content/3.providers/shopify.md

📝 Walkthrough

Walkthrough

This change updates the Shopify provider documentation to consistently use Vue's :modifiers prop binding syntax instead of static modifiers attribute passing across code examples for format, quality, crop, crop region, and pad color. The crop region example's modifiers object is also reformatted into a multi-line expression.

Estimated code review effort: 1 (Trivial) | ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately reflects the docs update changing NuxtImg modifier syntax to Vue binding.
Description check ✅ Passed The description clearly matches the Shopify provider documentation changes and explains the syntax fix.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Jul 9, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@nuxt/image@2277

commit: 265df94

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant