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 |
|
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. |
|
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) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm using hybrid rendering so some of my pages are prerendered and some are not.
My default route rule has
prerender: falsewhich 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:
All reactions