Nuxt.js: Download & replace remote images for full static export

Created on 19 May 2020  路  2Comments  路  Source: nuxt/nuxt.js

Version

nuxt-edge

Reproduction link

Any nuxt project

Steps to reproduce

  • Switch to nuxt-edge on any nuxt project
  • Enable target: static
  • Build and export it

What is expected ?

Remote images should be downloaded, too => we don't have to call the API/CMS for images.

What is actually happening?

Images don't get replaced with local ones.

This bug report is available on Nuxt community (#c10678)
feature-request

Most helpful comment

@lihbr
Thank you for your reply!
I'll write a module.

All 2 comments

Hi @J05HI , this was discussed in the Full static generated mode RFC and it looks like this won't be something enabled by default at best, I'll let you read that over there to help you with making up your mind about it :)

Nonetheless if you're willing to work on an option or a module to enable that properly feel free to submit a PR~

@lihbr
Thank you for your reply!
I'll write a module.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pehbehbeh picture pehbehbeh  路  3Comments

bimohxh picture bimohxh  路  3Comments

VincentLoy picture VincentLoy  路  3Comments

vadimsg picture vadimsg  路  3Comments

mattdharmon picture mattdharmon  路  3Comments