snehapar9 / next-with-static-export

Home Page:next-with-static-export.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Static export example

This example show how to export to static HTML files your Next.js application fetching data from an API to generate a dynamic list of pages.

When trying to run npm start it will build and export your pages into the out folder and serve them on localhost:5000.

Preview

Preview the example live on StackBlitz:

Open in StackBlitz

How to use

Execute create-next-app with npm or Yarn to bootstrap the example:

npx create-next-app --example with-static-export with-static-export-app
# or
yarn create next-app --example with-static-export with-static-export-app

About

next-with-static-export.vercel.app


Languages

Language:JavaScript 91.4%Language:Dockerfile 5.6%Language:Shell 3.0%