Replies: 3 comments 4 replies
-
Hey @jf908 , Could You provide some reproduction or repo of this example working? I am struggling with Only solution for static images that works for me is, unfortunately, the generate option (or Also, I noticed strange behavior of nuxt build - if You run build locally |
Beta Was this translation helpful? Give feedback.
-
Thanks for this, was trying to figure out how to get the images rendered at build time but couldn't see it in the docs. |
Beta Was this translation helpful? Give feedback.
-
I think this does not work, as it is a dynamic route which needs params to produce anything. I found a kind of working solution here: #795 (comment) |
Beta Was this translation helpful? Give feedback.
-
I'm using hybrid rendering so some of my pages are prerendered and some are not.
My default route rule has
prerender: false
which was disabling @nuxt/image from prerendering images until I realised that you need to specify/_ipx/**
in routeRules.Note
This will only prerender images that are included on pages that fall under the
{ prerender: true }
rule in your routeRules.In retrospect this seems extremely obvious but I was confused by several things:
Beta Was this translation helpful? Give feedback.
All reactions