How to make nitro firebase preset work with Nuxt Image #1524
Unanswered
crunchwrap89
asked this question in
Questions and Help
Replies: 1 comment
-
Hello, I am a bit desperate for help here :/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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