Server Side Rendering with Nuxt.js and Netlify

Hey everyone,

I recently started using Nuxt.js for a project and discovered their Server Side Rendering functionality. Before I continue, I understand SSR to be when a server loads in all the dependencies etc and then sends the HTML to the client in one stream as opposed to the client getting a webpage and then making all the individual requests.

I know that you can load up your site locally using npm run dev but is there anyway to enable SSR with Netlify? A lot of tutorials say to use the npm run generate but that serves static files and I don’t think that’s ‘true SSR’.

Hi, @simeon9696, and welcome to the Netlify community site. :smiley:

We have a topic about running server side code at Netlify here:

That being said, people often workaround this by using Functions. For example, the following blog post discusses using Functions to use express.js (a server-side technology) at Netlify:

However, I’m not aware of any documentation about how to get a similar configuration working for Nuxt.js.

If there are other questions about this, please let us know.

1 Like