Build for both static hosting and server side rendering.
So, I have been using Vue for 2 years now. Something I hate is the difficulty with building SEO integration with content that is provided by the backend.
So Nuxt can be built in two different modes.
Server side rendering and Client Side(Like Vue)
So I have my backend in Rust. Is it possible to build a Nuxt frontend. and have it compile into both mode. And what I mean.
If the user of my applications wants a simple setup and is not concerned with SEO they can just host the frontend with Client Side rendering like Vue. But if the user wants proper support for SEO they can run the frontend with Nitro or Bun or whatever?
I hope my question makes sense.
Basically I had the thought is I would release two versions of the application. One where it just automatically serves the frontend normally with no server side rendering. Just serves it like you would serve a Vue application and another version where you have to run the frontend and the backend separately?.
Thank you
0 Replies