The results are in for the Jamstack Community Survey 2021. Learn more

Next.js

77419 stars
15084 forks
1134 issues
Home page
https://nextjs.org
Repository
vercel/next.js
Language:
JavaScript
License:
MIT
Templates:
React

Next.js is a minimalistic framework for server-rendered React applications as well as statically exported React apps.

Install

It's easy to install

npm install --save next react react-dom

Build

Add a build script

{
  "scripts": {
    "dev": "next",
    "build": "next build",
    "start": "next start"
  }
}

Run

After that, the file-system is the main API. Every .js file within the automatically created pages directory becomes a route that gets automatically processed and rendered.

Example

Creating a website only takes a minute. Examples

Deploy to Netlify

Find more static site generators.