You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding a <NuxtImage src='image.png'/> to any vuefire project and then deploying the app as a serverless function, then the NuxtImage doesnt work.
Expected behavior
NuxtImage should display images properly resized etc with IPX as default provider.
Actual behavior
Nuxt image Works locally with npm run dev, but not when deployed as a serverless function to firebase hosting.
( using npm build , npx firebase-tools deploy. )
Instead it does not display any image at all. Error in console is:
Failed to load resource: the server responded with a status of 404 ()
This discussion was converted from issue #1523 on April 25, 2024 16:06.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Reproduction
https://github.com/posva/nuxt--vuefire-example-blaze-plan
Steps to reproduce the bug
When adding a
<NuxtImage src='image.png'/>
to any vuefire project and then deploying the app as a serverless function, then the NuxtImage doesnt work.Expected behavior
NuxtImage should display images properly resized etc with IPX as default provider.
Actual behavior
Nuxt image Works locally with npm run dev, but not when deployed as a serverless function to firebase hosting.
( using npm build , npx firebase-tools deploy. )
Instead it does not display any image at all. Error in console is:
Additional information
nuxt.config.ts nitroconfig:
firebase.json
Beta Was this translation helpful? Give feedback.
All reactions