"add sveltekit to add-to-your-site" (#6463)

This commit is contained in:
zachsa999 2022-05-27 04:25:53 -06:00 committed by GitHub
parent 19d569df8d
commit 0c5efd19d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,20 +11,20 @@ This tutorial guides you through the steps for adding Netlify CMS to a site that
A static `admin` folder contains all Netlify CMS files, stored at the root of your published site. Where you store this folder in the source files depends on your static site generator. Here's the static file location for a few of the most popular static site generators:
| These generators | store static files in |
| -------------------------------------------- | --------------------- |
| Jekyll, GitBook | `/` (project root) |
| Hugo, Gatsby, Nuxt 2, Gridsome, Zola, Sapper | `/static` |
| Next, Nuxt 3 | `/public` |
| Hexo, Middleman, Jigsaw | `/source` |
| Spike | `/views` |
| Wyam | `/input` |
| Pelican | `/content` |
| VuePress | `/.vuepress/public` |
| Elmstatic | `/_site` |
| 11ty | `/_site` |
| preact-cli | `/src/static` |
| Docusaurus | `/static` |
| These generators | store static files in |
| ------------------------------------------------------- | --------------------- |
| Jekyll, GitBook | `/` (project root) |
| Hugo, Gatsby, Nuxt 2, Gridsome, Zola, Sapper, SvelteKit | `/static` |
| Next, Nuxt 3 | `/public` |
| Hexo, Middleman, Jigsaw | `/source` |
| Wyam | `/input` |
| Pelican | `/content` |
| Spike | `/views` |
| VuePress | `/.vuepress/public` |
| Elmstatic | `/_site` |
| 11ty | `/_site` |
| preact-cli | `/src/static` |
| Docusaurus | `/static` |
If your generator isn't listed here, you can check its documentation, or as a shortcut, look in your project for a `css` or `images` folder. The contents of folders like that are usually processed as static files, so it's likely you can store your `admin` folder next to those. (When you've found the location, feel free to add it to these docs by [filing a pull request](https://github.com/netlify/netlify-cms/blob/master/CONTRIBUTING.md#pull-requests)!)