Join us at Jamstack Conf Virtual, October 6-7. Register now!
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
StaticGen is hosted and maintained by Netlify, the perfect way to deploy your Jamstack sites and apps.