Next.js is a minimalistic framework for server-rendered React applications as well as statically exported React apps.
It's easy to install
npm install --save next react react-dom
Add a build script
{
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
}
}
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.
Creating a website only takes a minute. Examples
Find more static site generators.