import Link from 'next/link';
export default function Index() {
return (
<div>
<h1>Hello Next.js 👋</h1>
<Link href="/about">
<a>About</a>
</Link>
</div>
);
}
Statically generated and server-rendered React applications have never been easier.
No need to learn a new framework. Exporting a static site with Next.js is as easy as a single command.
Next.js comes with styled-jsx
included, but it also works with every CSS-in-JS solution you know and love.
Automatic code splitting, filesystem based routing, hot code reloading and universal rendering.
Learn Next.jsComplete control over Babel and Webpack. Customizable server, routing and next-plugins.
View Full DocumentationOptimized for a smaller build size, faster dev compilation and dozens of other improvements.
View Showcase