Images aren't being retrieved from Strapi provider when using `nuxt generate`
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 331
- Avg merge
- 19h 52m
- Merged PRs (30d)
- 9
Description
Hi,
I want to generate static images with Strapi as the provider. For this, I use the nuxt generate command, which normally retrieves the images from my provider and adds them locally.
However, my .output folder does not contain these images, and the image URLs are not updated in generated HTML.
Expected Behavior
Get images from Strapi added to assets/images folder, and images URLs updated to query images from assets/images folder and not Strapi
Current Behavior
Images are not retrieved from Strapi, and images urls are not updated
Steps to Reproduce
- Install & configure
nuxt-image - Run
nuxt generate
Demo
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 run nuxt generate after configuring the Strapi provider. Trace how the provider is handled during static generation and inspect the generated .output folder and HTML. Done means Strapi images are retrieved locally and generated URLs point to the local assets/images files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, typescript
- Domain
- build-system, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100