NuxtImage cloudflare integration
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 331
- Avg merge
- 19h 52m
- Merged PRs (30d)
- 9
Description
The documentation for the cloudflare integration in NuxtImage is wrong.
https://image.nuxt.com/providers/cloudflare
The documentation mentions a modifiers object to use for the modifiers but these modifiers are not passed into the url. You have to use the name of the modifier as the v-binding. Example:
The fit modifier is not added to the url, the width and height modifiers are.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Cloudflare provider documentation at https://image.nuxt.com/providers/cloudflare and compare its modifiers example with the reported NuxtImg behavior. Verify which modifier-binding form includes fit in the generated URL, then update the page so the documented example matches the working behavior and check the resulting URL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100