Commit graph

155 commits

Author SHA1 Message Date
Luis Alvarez D
fca88d1cfe
Updated docs (#13205)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-05-22 10:36:45 +02:00
Luis Alvarez D
195e3e0ac3
[Docs] Replace hot reloading with fast refresh (#13207)
- Mention React Fast Refresh instead of hot reloading in docs
- Added a mention of our deployment docs in the main documentation page
- replaced `npm init` with `npx`
2020-05-22 02:40:06 +00:00
Zach Waterfield
25021473a5
Update the Automatic Static Optimization docs to explicitly state that Next.js will trigger an update. (#13096) 2020-05-19 18:09:57 +02:00
Tim Neutkens
dde5d3bdfe
Update prefetching explanation to correctly reflect data prefetching (#13088) 2020-05-19 07:03:42 -04:00
Joe Haddad
86160a5190
Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
Stig Kleppe-Jørgensen
97a61a18b2
x-powered-by is added to response, not request (#13037) 2020-05-18 12:58:29 -04:00
Jan Potoms
f8125c9ed7
[Experimental] Implement optional catch all routes (#12887) 2020-05-18 09:47:13 -04:00
Luis Alvarez D
c239c74629
Use a top level heading (#12960) 2020-05-16 15:04:18 +02:00
Tim Neutkens
313b552026
Enable .env support by default (#12911)
* Enable .env support by default

Given we've had tons of reports from various people that expected .env support to work even though they had dotenv installed already I think it's fine to enable it as a default:

Fixes #12728

* Remove old test

* Fix duplicate env loading

* Update docs

Co-authored-by: JJ Kasper <jj@jjsweb.site>
2020-05-15 14:02:16 -05:00
Joe Haddad
9c79955047
Strip out dead code for ignoreDevErrors (#12941) 2020-05-15 13:30:01 -04:00
Nicholas Chiang
c21278999c
Update module-path-aliases.md (#12900) 2020-05-15 11:54:27 +02:00
Brian Gershon
5da1dcf669
Warn users about migrating to 9.4 from dotenv (#12859) 2020-05-14 12:09:33 -04:00
Rafael Almeida
634e621a6e
Fix typo in Environment Variables doc page (#12770) 2020-05-12 13:50:04 +02:00
Jamie Kyle
c88bc17830
Use an if statement instead of expression statement (#12747) 2020-05-11 23:51:26 -04:00
0xflotus
2a62e51a10
(docs): fixed typo error (#12746) 2020-05-11 17:08:31 -04:00
Sergio Xalambrí
e91c0fccbb
Add missing parenthesis in Sending results to analytics example (#12733) 2020-05-11 15:47:56 -04:00
Houssein Djirdeh
ec38b0f0bd
Minor update to "Measuring performance" docs (#12741) 2020-05-11 15:39:21 -04:00
Sébastien Vanvelthem
653098d397
Use @/ to show module alias instead of @ prefixed (#12600)
* docs: controversial '@' prefix aliases should not be used

* Update docs/advanced-features/module-path-aliases.md

Co-authored-by: Joe Haddad <timer150@gmail.com>

* Update docs/advanced-features/module-path-aliases.md

Co-authored-by: Joe Haddad <timer150@gmail.com>

Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-05-11 13:52:59 +02:00
Luis Alvarez D
0b36211a1f
[Docs] Environment Variables (#12696) 2020-05-11 02:18:34 -04:00
Tim Neutkens
467b2c7ebc
Enable sassOptions support in next.config.js (#12685) 2020-05-10 22:11:48 -04:00
Tim Neutkens
e3aeb2f768
Update code sample in performance measurement docs (#12690) 2020-05-10 21:39:18 -04:00
Tim Neutkens
fcbffa3683
Update documentation that refers to isomorphic fetch libs (#12686) 2020-05-10 14:16:03 -04:00
JJ Kasper
92edfb953d
Cont. Update performance relayer and remove unstable prefix (#12665)
* updates relayer, uses web-vital lib, removes fid polyfill and removes unstable prefix from relayer

* simplify logic, fix null check

* update docs

* Update tests

* Rename relayWebVitals to reportWebVitals

Co-authored-by: housseindjirdeh <houssein@google.com>
2020-05-09 21:48:52 +02:00
Shu Uesugi
cc139b8d89
More renaming ZEIT → Vercel (#12649) 2020-05-09 17:21:53 +02:00
Pablo Saez
dac715e8f7
Add flag to disable API warning (#11380)
* Add flag to disable API warning

This flag is useful when you are using an external API resolver like express when defining an API route, since the native functionality doesn't realize that the API actually sent a response.

A very simple use case example https://github.com/PabloSzx/next-external-api-resolver-example

fixes #10589

* Update api-middlewares.md

Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-05-07 14:05:41 +02:00
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