Export into a Static HTML App

In this lesson, we need a simple Next.js app to play with. Try to download the example app below. (This is the blog app we created in previous lessons.)

git clone https://github.com/zeit/next-learn-demo.git
cd next-learn-demo
cd E1-static-export

You can run it with:

npm install
npm run dev

Now you can access the app by navigating to http://localhost:3000/.

The example uses Dynamic Routing, you may want to check the Create Dynamic Pages lesson first.