# Supported stacks

`preflight init` detects your stack and writes it to `preflight.yml` as `stack:`. The stack tells each check where to look: which template holds the `<head>`, where public files live, and which package manager to audit. SvelteKit, Remix, and Nuxt are told apart from plain Vite, so each gets its own layout and error page conventions.

- Backend: Ruby on Rails, Laravel, PHP, Go, Python/Django, Rust, Node.js
- Frontend: Next.js, Nuxt, Remix, React, Vue.js, Vite, Svelte, Angular
- CMS: WordPress, Craft CMS, Drupal, Ghost, Strapi, Sanity, Contentful, Prismic
- Static Generators: Hugo, Jekyll, Gatsby, Eleventy, Astro

## Stack values

These are the values `stack:` takes, as `preflight init` writes them.

| Kind | Values |
|---|---|
| Frameworks | `rails`, `next`, `laravel`, `django`, `python`, `go`, `rust`, `php`, `node` |
| Front end | `react`, `vue`, `svelte` (Svelte and SvelteKit), `remix`, `nuxt`, `angular`, `vite` |
| CMSs | `wordpress`, `craft`, `drupal`, `ghost`, `strapi`, `sanity`, `contentful`, `prismic` |
| Static site generators | `hugo`, `jekyll`, `gatsby`, `eleventy`, `astro` |
| Other | `static` (plain HTML), `unknown` (nothing detected) |

## Anything else

A plain static site works too. If Preflight misreads your stack, set `stack:` yourself, and [tell us](https://preflight.sh/contact/) so the detection gets better.
