nuxt / nuxt/image

Prerender static images for SSR setup

Open
#861 4 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Would it be possible to add config, where images from public folder would be pregenerated using nuxt build? This would help for edge runtime usecases, where you have dynamic content, but static images and module doesn't work on edge (with default provider of ipx).

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 how nuxt build handles the public folder and how the default ipx provider is configured for SSR. Define the configuration needed to pregenerate those images for edge deployments, then verify that static images work without the default provider in an edge runtime.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxtjs, typescript
Domain
performance, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.