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
Image stored in the assets/ directory are not proccessed with Nuxt Image because those images are managed by webpack.
But then in the docs for the dir config options it says:
For example you might want the source images in assets/images directory rather than the default public directory so the source images don't get copied into dist and deployed
I'm confused by this. When should source images be stored in public and when should they be stored elsewhere?
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
-
Hi there!
The v1 guide says
Image stored in the assets/ directory are not proccessed with Nuxt Image because those images are managed by webpack.
But then in the docs for the
dir
config options it says:For example you might want the source images in assets/images directory rather than the default public directory so the source images don't get copied into dist and deployed
I'm confused by this. When should source images be stored in
public
and when should they be stored elsewhere?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions