Skip to content

irfan0807/next-static-export-example

 
 

Repository files navigation

Next.js Static Export

  • Component level data fetching
  • i18n routes support (no runtime detection)
  • Dynamic routes (/post/[id])
  • SPA routes (/spa-post/[id])
  • Image optimization (uses Cloudinary)
  • Route Handlers

Static Export

Running pnpm build will export the site to the out directory. Then, you can deploy the out directory to any static hosting provider.

You can also run it locally using a tool like serve:

pnpm install -g serve
serve out

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 87.6%
  • JavaScript 11.1%
  • CSS 1.3%