Description
I have custom provider (thumbor) as my default provider in the config and in some case I still need IPX provider, so I pass provider props in the NuxtImg
components as <NuxtImg provider="ipx" />
and the result is 404. _ipx
path is not found.
The config I had:
image: {
ipx: {},
provider: "thumbor",
providers: {
thumbor: { ... }
}
}
When I omit the ipx
property, it throw Unknown provider: IPX
error. The config works when I replace the default provider with ipx
.
Is it expected behavior?
I create a minimal reproduction using ipx
and unsplash
provider to suit my problem: https://stackblitz.com/edit/nuxt-image-ipx-repro?file=app.vue
Thank you!
Metadata
Metadata
Assignees
Labels
No labels