nuxt / nuxt/image

Netlify domains

Open
#2,128 0 comments 0 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

Netlify image not working

This change was recently added to fix the image being generated on Netlify. #2086

Unfortunately, it still does not work without adding domains to the netlify.toml file.

[images]
  remote_images = ["via.placeholder.com"] # This is still required for images to work with Netlify

The NUXT_IMAGE_DOMAINS env variable on its own, does not work.

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

Review the Netlify-related change in #2086 and the image configuration in netlify.toml first. Reproduce the issue using NUXT_IMAGE_DOMAINS without the remote_images entry, then verify that Netlify images work without manually adding the domain configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxtjs, typescript
Domain
cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.