-
Hi, i checked the docs and I havent found anything similar to say, nuxtignore or something. I want it to ignore certain paths and not implement ssr there. |
Beta Was this translation helpful? Give feedback.
Answered by
frandiox
Aug 27, 2021
Replies: 1 comment 1 reply
-
Hi! Right now, we don't have any feature to choose SSR vs SPA on a route basis. There are some alternatives:
Hope that helps! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
LagnerKol
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! Right now, we don't have any feature to choose SSR vs SPA on a route basis. There are some alternatives:
<ClientOnly>
component around whatever you don't need in SSR.vite-ssr
, check the URL and just returnindex.html
content if you don't want to do SSR. There's more info in this issue. If you want the same behavior during development, try providing your own dev server usingvite-ssr
in middleware mode.Hope that helps!