ipxStatic doesn't work if image url has Query params
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 331
- Avg merge
- 19h 52m
- Merged PRs (30d)
- 9
Description
This doesn't work when I generate my static site:
<NuxtImg src="https://ui-avatars.com/api/?background=random" />
Runnpm run generate && npm run preview
Image isn't showm
Run npm run dev
No problem
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 linked StackBlitz reproduction and compare npm run generate && npm run preview with npm run dev. Trace how the query string is encoded in .output/public/_ipx/q_70/https%3A/ui-avatars.com/api/%253Fbackground%3Drandom. Done means the image renders after static generation and preview while development behavior remains working.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, typescript
- Domain
- performance, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100