NextJS on Netlify Banner
NPM version MIT license NPM downloads Tested with Cypress.io

NextJS on Netlify: Server-Side Rendering Made Easy

This is a demo of a NextJS application with Server-Side Rendering (SSR).
It is hosted on Netlify.
Server-side rendering is handled by Netlify Functions.
Minimal configuration is required.
Everything is handled by the next-on-netlify npm package.


Examples

getInitialProps

getServerSideProps

getStaticProps

API Routes

Preview Mode


Want to Learn More?

Check out this demo's source code on GitHub.
Or check out the next-on-netlify npm package.