Guide to supported static site generators and frameworks.
Static site generator | Build command | Publish directory | Additional notes |
---|---|---|---|
Angular | npm run build — -c production | dist/(name_of_the_project) | |
Astro | npm run build | dist | |
Brunch | npm run build | public | |
Cuttlebelle | npm run build | .site | |
Docusaurus | npm run build | build | |
Elder.js | npm run build | public | |
Eleventy | npx @11ty/eleventy | _site | |
Ember | npm run build | dist | |
Gatsby | npm run build | public | |
Gridsome | npm run build | dist | Requires Node 16 or enabling OpenSSL legacy provider.* |
Hugo | npm run build | public | Requires additional configuration for compatibility.** |
Hexo | npm run build | public | |
Next.js | npm run build | out | Create according to [Next Static Exports](https://nextjs.org/docs/app/building-your-application/deploying/static-exports” target=“_blank” rel=“noopener noreferrer). |
Nuxt | npm run generate | .output/public | Create according to [Nuxt client side only rendering](https://nuxt.com/docs/getting-started/deployment#client-side-only-rendering” target=“_blank” rel=“noopener noreferrer). |
Preact | npm run build | dist | |
Qwik | npm run build & npm run build.server | dist | Requires the [SSG adapter](https://qwik.builder.io/docs/guides/static-site-generation/#static-site-generation-config” target=“_blank” rel=“noopener noreferrer). |
React (using Create React App) | npm run build | build | |
React (using Vite) | npm run build | dist | |
Solid | npm run build | dist | |
Svelte | npm run build | build | Requires the [static site adapter](https://kit.svelte.dev/docs/adapter-static” target=“_blank” rel=“noopener noreferrer”). |
Vite 3 | npm run build | dist | |
Vue | npm run build | dist | |
VuePress 1.x | npm run build | src/.vuepress/dist | Requires Node 16 or enabling OpenSSL legacy provider.* |
VuePress 2.x | npm run build | ./docs/.vuepress/dist |