/nextjs-ssr-demo

Server-side Rendering (SSR) demo using Next.js

Primary LanguageJavaScript

Next.js SSR Demo

This application demonstrates Server-side Rendering (SSR) using Next.js.

Screen Shot

CSR (client-side rendering) Build

$ yarn
$ yarn dev

Now point your browser to http://localhost:3000/.

SSR Build

$ yarn

# Build the client first
$ yarn build

# Start the server
$ yarn start

Now point your browser to http://localhost:3000/.