mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Update README.md (#5670)
This commit is contained in:
parent
e5d8eb2374
commit
a9092c7c7d
|
@ -1133,6 +1133,8 @@ __Note: React-components outside of `<Main />` will not be initialised by the br
|
|||
|
||||
404 or 500 errors are handled both client and server side by a default component `error.js`. If you wish to override it, define a `_error.js` in the pages folder:
|
||||
|
||||
⚠️ The default `error.js` component is only used in production ⚠️
|
||||
|
||||
```jsx
|
||||
import React from 'react'
|
||||
|
||||
|
|
Loading…
Reference in a new issue