Static site generators
November 19, 2024 ยท View on GitHub
Let's figure out how different static site generators output static files for route /myPath.
Jekyll
- Command:
jekyll build - Default output:
/myPath.html - Configuration: no options available
Gatsby
- Command:
gatsby build - Default output:
/myPath/index.html - Configuration: no, but various plugins exist
Next.js
- Command:
next export - Default output:
/myPath.html - Configuration: trailingSlash option (different from Vercel trailingSlash option)
Docusaurus
- Default output:
/myPath/index.html - Configuration: trailingSlash option
Nuxt
- Command:
nuxt generate - Default output:
/myPath/index.html - Configuration (Nuxt v2): trailingSlash option
Hugo
- Command:
hugo - Default output:
/myPath/index.html - Configuration: no options available
Angular Prerendering
- Default output:
/myPath/index.html - Configuration: no options available
- Docs: Angular Prerendering (SSG)
TODO: add other static site generators
TODO add all other static site generators