https://github.com/jonathanprozzi/next-static-export-fleek
https://github.com/jonathanprozzi/next-static-export-fleek
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/jonathanprozzi/next-static-export-fleek
- Owner: jonathanprozzi
- Created: 2021-07-29T04:36:11.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-29T04:36:29.000Z (almost 5 years ago)
- Last Synced: 2025-02-10T11:32:59.193Z (over 1 year ago)
- Language: JavaScript
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](http://stackblitz.com/):
[](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/with-static-export)
## How to use
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:
```bash
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
```