#Is there a way to generate on the server the dynamic meta tags of a page, having ssr: false ?
20 messages · Page 1 of 1 (latest)
Not sure what you mean by this but with ssr: false there is no server? So how can you expect to generate something on a server in such a case?
giving one on the index file
this would be the fallback
or configure it via head in nuxt.config as fallback
wait do we have access to index.html in nuxt when not using ssr?
i never trought about it
in nuxt 2 i know how
but it will be not dynamic xD
@wet stone made a whole os he knows how its going 😄
😭 😭
@left drift how would you get the "dynamic meta tags" then?
And what speaks against nuxi generate + having SSR enabled?
I had to use ssr:false on my site, because the dynamic pages are not being generated and this way at least it works
What happens is that when generating the meta tags in the client, they are added to the page after the page is generated, so the page preview does not work, which is what I need
why are they not generated?
You should still be able to see them via fallback file though and can generate all the "other" URLs
I do not know why it is not generated, it does not show any error, it simply ignores it
What do you mean by fallback file?
are they properly linked? You can also give them in manually via nitro.prerender.routes
Nitro can render a fallback file so all "non-prerendered" sites are rendered as SPA
Here I explain that problem https://discord.com/channels/473401852243869706/1090441150613180487
