[documentation] improve NextJS docs by adding Identity Widget to homepage (#2915)

* update NextJS docs

* change /static dir to /public/static

* remove redundant React import

* change static directory to /public for Next in add-to-your-site.md
This commit is contained in:
JP Lew
2019-11-26 14:06:29 -08:00
committed by Tom Rutgers
parent 41bb9aac0d
commit a2df4f4c91
2 changed files with 32 additions and 24 deletions

View File

@ -15,7 +15,8 @@ A static `admin` folder contains all Netlify CMS files, stored at the root of yo
| These generators ... | store static files in |
| ---------------------------------- | --------------------- |
| Jekyll, GitBook | `/` (project root) |
| Hugo, Gatsby, Nuxt, Next, Gridsome, Zola | `/static` |
| Hugo, Gatsby, Nuxt, Gridsome, Zola | `/static` |
| Next | `/public` |
| Hexo, Middleman, Jigsaw | `/source` |
| Spike | `/views` |
| Wyam | `/input` |