NuxtImg props based on the provider
Open
Nobody has claimed this yet.
enhancement
provider
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 331
- Avg merge
- 19h 52m
- Merged PRs (30d)
- 9
Description
Hey there,
Daniel Roe suggested that the NuxtImg component could be typed based on the selected provider.
I wonder how we should implement that. Should it be based on the globally selected provider option? Or the local component prop provider option? Or combination of both?
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 by tracing the NuxtImg component's prop typing and how global and local provider options are resolved. Decide which provider source takes precedence, then define what provider-specific props should be accepted and verify the resulting types; the issue names no files or tests to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100