nuxt / nuxt/image

Have the option to choose min-width

Open
#1,211 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.5k
Forks
331
Avg merge
19h 52m
Merged PRs (30d)
9

Description

I've been using Nuxt Image and have noticed that it primarily uses max-width for image generation. I'm interested in discussing the possibility of having an option to choose min-width instead, as it can be beneficial in certain scenarios.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Nuxt Image path that currently generates images using max-width. Determine where a min-width choice would fit, what its expected behavior should be, and which tests cover width generation. Done means the option is clearly specified, implemented, and covered by tests for both width modes.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
frontend, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.