image
image copied to clipboard
Is it possible to use different source dirs with default IPX provider?
I'd like to have some of my <nuxt-img>
pull from public/
, but others from assets/photos
. I see I can configure it globally, but is there any way to specify a different dir
as a property to nuxt-img
itself?
What is the default folder for ipx?
The default value for dir
is public:
https://image.nuxtjs.org/configuration#dir
@garyo I'm not sure if this will work, but you could try to use a preset for this: https://image.nuxtjs.org/configuration#presets https://image.nuxtjs.org/components/nuxt-img#preset
I know there are some issues when using directories other than the root public dir https://github.com/nuxt/image/issues/1006