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
liulanz
39a70d8eb1
Minor change in README.md ( #11434 )
...
* changed link for JOIN THE COMMUNITY
* Update packages/next/README.md
Co-Authored-By: Luis Alvarez D. <luis@zeit.co>
Co-authored-by: Luis Alvarez D. <luis@zeit.co>
2020-03-28 12:58:42 -05:00
Tim Neutkens
c0f42837bf
Update README.md
2020-02-26 15:00:26 +01:00
Luis Alvarez D
a15ccbc0fe
Update readme to link to the new docs ( #10096 )
...
* Updated next readme
* Delete README_old.md
* Update README.md
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-01-15 11:25:18 +01:00
Luis Alvarez D
18d8c90c3f
Updated docs for pathname ( #9964 )
...
* Updated docs for pathname
* Apply suggestions from Tim
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
* Removed trailing dots
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2020-01-08 11:56:17 +01:00
Taylor Bryant
eee4efd0e8
Fix typo (change imperatively
to imperative
) ( #9750 )
2019-12-14 11:56:33 -07:00
Lachlan Campbell
590e8d5c26
Fix docs typo: “your sites SEO” ( #9579 )
2019-11-30 22:16:46 -05:00
Lee Robinson
b3dbcbb5bb
Fix typo in API routes documentation. ( #9373 )
2019-11-10 20:07:45 -08:00
Luis Alvarez D
c8c4efba6c
Remove the parameterized-routing example ( #9297 )
...
* Remove the example
* Include readme with link to alternative
2019-11-07 10:06:35 -08:00
Tim Neutkens
37ee8fc9e7
Update _app documentation to reflect no longer needing next/app ( #9268 )
...
* Update _app documentation to reflect no longer needing next/app
* Remove lint-staged
2019-10-31 10:53:55 -04:00
Joe Haddad
4dbd267c6a
Split TypeScript Flag Docs ( #9231 )
...
* Split TypeScript Flag Docs
* reword
2019-10-28 22:44:10 -04:00
Alexander Kachkaev
ad2a3d65fd
Add configuration flags to disable integrated type checker ( #9138 )
...
* Add a configuration flag to disable integrated type checker
* Add tests for typescript-transpileonly
* Restore removed argument
* Make output more coherent
* Split transpileOnly into ignoreDevErrors and ignoreBuildErrors
* Minor stylistic change
2019-10-28 11:02:03 -07:00
Miguel Ángel Durán
8227baf42c
docs(api-routes): fix micro-cors example ( #9184 )
...
The correct option to use with `micro-cors` package is `allowMethods` instead `allowedMethods`. This PR fixes the example.
2019-10-23 17:14:51 -04:00
Nishant Singh
09681cd597
[Docs] Update static file serving section ( #9062 )
...
This block seemed redundant
```
To serve static files from the root directory you can add a folder called `public` and reference those files from the root, e.g: `/robots.txt`.
```
The block above this already mentions the same thing:
```
Create a folder called `public` in your project root directory. From your code you can then reference those files starting from the baseURL `/`
```
We could add the `robots.txt` eg to the first block itself if necessary
2019-10-13 19:18:10 +02:00
JJ Kasper
5b574fc778
Update to error on usage of serverRuntimeConfig with serverless ( #9030 )
...
* Update to error on usage of serverRuntimeConfig with serverless
* Add tests for errors for serverless and runtime configs
* Update docs wording
2019-10-10 16:56:38 -05:00
JJ Kasper
28377a783b
Add static directory deprecation warning ( #8636 )
...
* Add static directory warning
* Simplify migration to public directory
* Update static-dir-deprecated.md
2019-10-06 13:57:41 +02:00
Joe Haddad
9a4234cf54
Remove Recipes from Readme ( #8939 )
...
These Recipies are not regularly audited to ensure they're using the most up-to-date and suggested practices.
We'll reintroduce the idea of "recipies" in the future, for now, the examples directory is a great place to start.
2019-10-02 18:17:21 -04:00
Joe Haddad
29c1b93c89
s/Automatic Prerendering/Automatic Static Optimization/ ( #8940 )
...
* s/Automatic Prerendering/Automatic Static Optimization/
* Update more links
2019-10-02 18:03:00 -04:00
Tim Neutkens
0bcd1fc39b
Mirror actual /_error behavior in documentation
2019-09-30 11:19:03 +02:00
JJ Kasper
a8e3b02236
Add src
directory support ( #8735 )
...
* Add find-pages-dir
* Add support for src directory
* Add test for pages dir preference
* Update comment
2019-09-24 17:15:14 +02:00
David Darnes
82f7bb4b67
Ghost URL Typo ( #8828 )
2019-09-23 12:15:27 +02:00
David Darnes
b4946ae23c
Add Working with Ghost and Next.js to Recipes ( #8800 )
2019-09-19 17:32:43 -04:00
Luis Alvarez D
0eda4d5988
Update broken links ( #8793 )
2019-09-19 10:50:50 -04:00
Lukáš Huvar
7863b60ef6
Prettier fix ( #8754 )
2019-09-16 15:24:42 +02:00
Azim Atefi
a0341ea150
Convert Readme Custom Error Pages To Functional Component ( #8513 )
...
* Convert Readme Custom Error Pages To Functional Component
* Update packages/next/README.md
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
* Run readme through prettier
2019-09-16 14:30:50 +02:00
JJ Kasper
fe7c7342c7
Add link to docs for prerender indicator and allow disabling ( #8610 )
...
* Add link to docs for prerender indicator and allow disabling
* Fix lint error from example
* Disable by default when electron is detected
* Add button to dismiss indicator for session
* Update disabling indicator in electron
2019-09-15 23:18:11 +02:00
Romain
98f368f545
Add missing Link import to routing doc ( #8728 )
2019-09-13 14:43:14 +02:00
Lukáš Huvar
9731e7e99c
[Docs] Prefetch disabled for 2g or SaveData header ( #8717 )
2019-09-12 13:11:34 +02:00
Joe Haddad
73b6c1e633
[docs] useRouter
cannot be used with classes ( #8649 )
...
The `useRouter` function is a hook and cannot be used with Classes.
A few React beginners have brought this up, so we document the alternatives to hooks.
2019-09-05 23:05:59 -04:00
Alex Matseshe
e78324a742
Fix typo in README.md #8640 ( #8642 )
2019-09-05 14:43:37 -05:00
Ali eslamifard
dd9448c574
Update README and data-fetch example to use function components. ( #8546 )
...
* This example show how to use STOMP inside a Next.js application.
* Fix useEffect
* Add _app.js implementation
* Fix lint error
* Fix lint error
* Update examples/with-stomp/README.md
Co-Authored-By: Luis Fernando Alvarez D. <luis@zeit.co>
* withStomp removed
* The url address changed
* _app.js removed. useClient added.
* remove
* revert
* remove
* Update README.md according to Hooks concept.
* Update example
* Update README.md
* Components should use functional syntax
* Update packages/next/README.md
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
* Update packages/next/README.md
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
* Update packages/next/README.md
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
* Update packages/next/README.md
Co-Authored-By: Tim Neutkens <tim@timneutkens.nl>
* Update README.md
2019-09-02 12:47:30 +02:00
Natalie Marleny
efa368d427
Update README.md badge text ( #8593 )
2019-09-01 20:30:18 +02:00
JJ Kasper
7310e6bca6
Remove extra default export from readme ( #8579 )
2019-08-30 12:28:04 -05:00
Lukáš Huvar
5cc3b8a531
Fix docs ( #8577 )
2019-08-30 18:51:48 +02:00
Mark
7bd4f4f3bf
Remove link ( #8539 )
2019-08-27 23:05:47 -04:00
Luis Fernando Alvarez D
64e8c61dcf
Update ./static/
folder documentation ( #8477 )
...
* Improve the static folder note
* Update README.md
2019-08-23 11:10:30 -04:00
迷渡
4a864ca951
fix duplicate spaces in readme ( #8484 )
2019-08-22 20:47:43 -05:00
Julien Bouquillon
1007777471
doc: typo fix ( #8460 )
...
* doc: typo fix
* fix glitch
2019-08-21 14:38:14 +02:00
Lukáš Huvar
0e01435f64
Change FAQ for dynamic routing ( #8439 )
2019-08-20 14:40:13 +02:00
paulogdm
2ab5c86641
Update Zones Documentation ( #8426 )
...
* Update README.md
Small typo reported on Spectrum. Kudos to @borekb
* Update packages/next/README.md
Co-Authored-By: Joe Haddad <joe.haddad@zeit.co>
* Update packages/next/README.md
Co-Authored-By: Joe Haddad <joe.haddad@zeit.co>
* Update packages/next/README.md
Co-Authored-By: Joe Haddad <joe.haddad@zeit.co>
* Update README.md
* Update README.md
2019-08-19 19:43:01 -04:00
JJ Kasper
144eecd185
Add example with forwardRef to readme ( #8428 )
2019-08-19 17:17:31 -04:00
knight-of-zero
ad77a55063
Fixed the docs. The real option is compress, not compression ( #8409 )
2019-08-17 19:40:51 -05:00
Brian Rayburn
cbe70e95a8
Update README.md ( #8392 )
...
change `||` to `&&` in Router.beforePopState example to match doc description
2019-08-16 09:57:42 -05:00
William Li
a15e22e829
updated links from #useRouter to #userouter ( #8362 )
...
Links pointing to #useRouter doesn't work. They need to be #userouter
2019-08-13 23:04:42 -04:00
Iurii Kucherov
99f2d2a109
Add a note for multiple dynamic route segments ( #8359 )
...
* Update README.md
* Update README.md
* Update README.md
* Update README.md
2019-08-13 21:35:27 -04:00
JJ Kasper
9fe95b5c7d
Add note explaining empty query during prerendering ( #8351 )
2019-08-13 19:58:45 +02:00
Borek Bernard
4ab56e8a8a
Update custom app example in README ( #8320 )
...
The code example now uses simpler and safer approach to call page's `getInitialProps`.
2019-08-12 00:06:45 +02:00
Tim Neutkens
a90a55545b
Deprecate Container usage ( #8327 )
...
* Remove Container from examples
* Update readme to reflect Container removal
2019-08-11 22:02:33 +02:00
Tim Neutkens
da494dbb80
Document poweredByHeader option
...
Fixes #7657
2019-08-10 15:44:43 +02:00
JJ Kasper
a4889f964e
Update handling of ref in next/link ( #8254 )
2019-08-08 13:11:17 -05:00