Lachlan Campbell
0ef60f11b2
Mention nesting in arrays alongside Fragments in next/head docs ( #12420 )
...
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
2020-05-06 11:34:23 +02:00
Tim Neutkens
94651a85eb
Add documentation for TypeScript baseUrl and paths option ( #12379 )
...
* Add documentation for TypeScript baseUrl and paths option
* Update module-path-aliases.md
* Update manifest.json
2020-05-06 10:56:06 +02:00
Austin Humes
ab78111781
Update dynamic-import.md ( #12541 )
2020-05-05 23:36:41 -04:00
Luis Alvarez D
e5bcfdc571
[Docs] Move example links ( #12326 )
2020-05-02 01:01:07 -04:00
Luis Alvarez D
1f324c7206
[Docs] Add documentation for Router.prefetch ( #12333 )
2020-05-02 00:42:22 -04:00
Shu Uesugi
b230627614
Minor docs edits for router API ( #12404 )
2020-05-02 00:20:09 -04:00
Luis Alvarez D
960c18da53
Add docs for Router.back and Router.reload ( #12396 )
2020-05-02 00:11:06 -04:00
Luis Alvarez D
82596124c6
Add cors example and update API routes docs ( #12390 )
2020-05-02 00:06:23 -04:00
Luis Alvarez D
8f3931a0be
Add docs for next dev and next start ( #12392 )
2020-05-02 00:05:26 -04:00
Luis Alvarez D
5ca1b5c5de
[Docs] Add link to relative title in postcss docs ( #12330 )
2020-04-30 09:51:56 +02:00
James O'Halloran
b0d7881ca7
Update preview-mode.md ( #12287 )
2020-04-28 15:01:14 -04:00
Andrew Fiedler
5936cbbb69
Update built-in-css-support.md ( #12268 )
2020-04-28 10:49:51 +02:00
Shu Uesugi
46f1968118
Link to CLI doc from getting started doc / link to Telemetry doc from CLI doc ( #12181 )
2020-04-24 14:29:26 -07:00
Giovanni Giordano
99eedc4b86
Add quotes to static paths in fallback section ( #12170 )
2020-04-24 15:33:45 +02:00
Tim Neutkens
483bd3ddda
Rename ZEIT to Vercel ( #12075 )
...
* Find/replace
* Update more URLs
* More rename
* Fix remaining examples
* More updates
* Update create-next-app
* Update remaining text
* Update
Co-authored-by: Shu Uesugi <shu@chibicode.com>
2020-04-21 11:47:12 +02:00
Tim Neutkens
6188c79b22
Fix linting
2020-04-20 12:44:52 +02:00
Yangshun Tay
099471eaec
Fix typo in next/amp docs ( #12040 )
2020-04-20 11:18:38 +02:00
Lee Robinson
16ee0fe2dc
Add note about polyfilling CSS Grid for IE11. ( #12035 )
2020-04-20 11:17:45 +02:00
Lee Robinson
b52d7ff323
Add documentation on next build
output. ( #12034 )
2020-04-20 11:17:12 +02:00
Lee Robinson
912f746749
Update next/head docs to clarify duplicate tags. ( #12033 )
2020-04-20 11:15:53 +02:00
Vitor Capretz
26df01800d
docs: improve wording on some pages according to alex.js ( #11973 )
2020-04-17 16:26:25 +02:00
Paul Matthew Jaworski
22e3c699f6
add warning about manually installing PostCSS plugins ( #11966 )
2020-04-17 10:27:40 +02:00
Luis Alvarez D
3036463080
Updated shallow docs ( #11925 )
2020-04-15 15:38:46 -04:00
Gonzalo D'Elia
6202a7f3bd
Fix: Update shallow routing docs ( #11894 )
2020-04-15 02:21:06 -04:00
Vincent Voyer
7d2ee3b015
docs(Link): precise how prefetch works ( #11792 )
...
* docs(Link): precise how prefetch works
After this discussion: https://twitter.com/timneutkens/status/1243572726998188036
This might not be the exact good wording though. Let me know!
* Update docs/api-reference/next/link.md
Co-Authored-By: Luis Alvarez D. <luis@zeit.co>
Co-authored-by: Luis Alvarez D. <luis@zeit.co>
2020-04-15 02:03:15 -04:00
Luis Alvarez D
2b1f959b7d
Update shallow routing docs ( #11616 )
...
* Updated shallow routing docs
* Include getStaticProps
2020-04-13 20:22:07 -05:00
Joe Haddad
39c068e1f0
Update Serverless Note in Docs ( #11861 )
2020-04-13 17:11:14 -04:00
Minh Nguyen
ec76d9265c
Rename functional component
-> function component
( #11850 )
...
See the following for context:
- https://reactjs.org/docs/components-and-props.html#function-and-class-components
- https://overreacted.io/how-are-function-components-different-from-classes/
- https://twitter.com/dan_abramov/status/1057625147216220162
- https://twitter.com/kentcdodds/status/1136274289965928448
2020-04-13 11:33:06 +02:00
Tim Neutkens
c59d24055d
Add Prismic Example ( #10897 )
...
* Add Prismic Example
* Update package.json
* Update constants
* Remove react-datocms
* Add Preview Mode for Prismic
* Add support for Preview Mode
* Delete author.jpg
* Delete image.jpg
* Fixes and readme updates
* Fixed issues with preview mode
* Updated preview mode steps
* Added more posts
* Updated readme
* Updated readme
* Added demo URL
* Added related examples links
* Added example to docs
Co-authored-by: Shu Uesugi <shu@chibicode.com>
Co-authored-by: Luis Alvarez <luis@zeit.co>
2020-04-10 12:41:09 +02:00
Ben
44a04acd72
Update typescript.md ( #11717 )
...
just add file name to avoid wrong file name like `_app.ts`
2020-04-07 11:48:18 +02:00
Luis Alvarez D
f33ba2c525
[docs] Mention the new data fetching methods on missing places ( #11620 )
...
Co-authored-by: Tim Neutkens <timneutkens@me.com>
2020-04-06 13:47:12 +02:00
Vass Bence
969ffd6c1a
Mention <title> and styled-jsx caveats in Document's docs ( #11499 )
...
* Mention <title> and styled-jsx caveats
* Update custom-document.md
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-04-06 13:38:29 +02:00
Karl Horky
baf0b28779
Add routing example with dynamic as
prop ( #11114 )
2020-04-06 13:36:57 +02:00
Yossi Spektor
23d71ff116
Any elements must be direct children of next/head ( #11557 )
...
It is any elements and not only meta or title because the children of next/head are generated in here: 8c899ee5e4/packages/next/next-server/lib/head.tsx (L139)
where React.cloneElement is called without the third parameter which is needed to clone the children as well (https://reactjs.org/docs/react-api.html#cloneelement ).
2020-04-06 13:35:22 +02:00
Luis Alvarez D
e3a35b2a3e
Update Automatic Static Optimization docs ( #11618 )
2020-04-06 09:46:19 +02:00
Jaga Santagostino
b91ee110b7
add links to sections in data fetching documentation ( #11666 )
2020-04-05 13:52:43 +02:00
Jan Sepke
2bfbfea635
Update FAQ link ( #11636 )
...
to new Data fetching documentation
2020-04-03 19:20:19 +02:00
Luis Alvarez D
9a7f29c981
[Docs] Remove concepts folder ( #11621 )
2020-04-03 09:45:00 +02:00
JJ Kasper
bf96337c6c
Update minimum required node version to be more specific ( #11604 )
2020-04-02 14:06:36 -04:00
Sriram Thiagarajan
892794b013
[docs] Remove broken link to example api-routes-micro ( #11597 )
2020-04-02 17:22:12 +02:00
swyx
4adab3d4b0
[docs] document how root routes coexist with dynamic api routes ( #11591 )
...
* document how root routes coexist with dynamic api routes
document how root routes coexist with dynamic api routes - related to https://github.com/zeit/next.js/issues/11542
* Update dynamic-api-routes.md
* Update dynamic-api-routes.md
* Run prettier
Co-authored-by: Tim Neutkens <timneutkens@me.com>
2020-04-02 11:05:01 +02:00
kvoncode
b48db989bb
add: jsx
to list of supported files in docs ( #11579 )
2020-04-02 10:21:13 +02:00
Josh Pullen
e4bf0d4c90
Fix small punctuation issue ( #11439 )
2020-03-30 11:45:11 +02:00
Jeremy Stucki
a81d7620a4
docs: Replace micro-cors with cors middleware ( #11395 )
2020-03-27 13:23:53 +01:00
Luis Alvarez D
a391d328ae
Add docs for multi zones ( #11348 )
...
* Updated example
* Added single now.json
* Added Multi Zones docs
* Fix titles
* Added back the deploy button
2020-03-26 10:44:00 +01:00
Luis Alvarez D
4801dcdd15
Update AMP docs ( #11353 )
...
* Add caveat about css support for amp
* Update docs/advanced-features/amp-support/introduction.md
* Update introduction.md
Co-authored-by: Shu Uesugi <shu@chibicode.com>
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-03-26 10:32:36 +01:00
Yuji Matsumoto
67fd72b764
Fix preview-mode docs/examples typo ( #11345 )
...
be know => be known
2020-03-25 18:13:33 +01:00
Tim Neutkens
074c60e0ec
Update data-fetching.md
2020-03-25 18:08:15 +01:00
Luis Alvarez D
523680c213
[docs] Mention our channels ( #11336 )
...
* Mention our communication channels
* Apply suggestions from Shu
Co-Authored-By: Shu Uesugi <shu@chibicode.com>
* Update getting-started.md
Co-authored-by: Shu Uesugi <shu@chibicode.com>
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-03-25 10:06:58 -05:00
Mihira Jayasekera
16a97c87e7
docs: clarify how to customize next/babel presets ( #11316 )
...
* docs: clarify how to customize next/babel presets
The current language confused me, because it says the presets/plugins should not be added to .babelrc, but then they are "added" (in a sense) to .babelrc in the subsequent example. Clarify that they shouldn't be added _as their own presets/plugins_.
* docs: further clarify custom next/babel config
Even more explicit.
2020-03-24 10:00:41 +01:00