Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

feat(error-page): fix broken images #3332

Merged
merged 1 commit into from
Jun 14, 2023
Merged

Conversation

techtolentino
Copy link
Contributor

@techtolentino techtolentino commented Jun 13, 2023

Changes

Fixes #3331

Preview

https://qiskit-org-pr-3332.dcq4xc5i083.us-south.codeengine.appdomain.cloud/test

What I tried

For some reason, when using <nuxt-img> and npm run generate, we're not having cat images generate in the optimized folders. I tried the following:

  • testing a static image (not a dynamically created image), for example cat1.png
  • upgrading the dependency and testing
  • specifying "ipx" as the provider in nuxt.config
  • disabling all nuxt-img instances, and leaving the error.vue instance, to see if it would render

In all these cases, the dynamically generated cat<number>.png image doesn't get transformed into the .output/public/images/* directories...

(I think it could be because the error.vue page isn't within the /pages? directory)

Implementation details

This PR will revert to using a normal <img> tag until we can figure out what's happening with #3226

@y4izus y4izus merged commit 24919a1 into main Jun 14, 2023
@y4izus y4izus deleted the fix/3331-error-page-images branch June 14, 2023 07:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: error page images not rendering
2 participants