提交 a71cb644 编写于 作者: L Luis Fernando Alvarez D 提交者: Tim Neutkens

Improve docs (#7564)

* Update getInitialprops docs

* Update docs for prefetch

* Updated prefetch docs

* Removed hotSelfAccept from docs and othr changes

* Prefer /public

* dots dots dots dots

* Added docs for Automatic Pre-rendering

* Added a note to <Link />

* Removed 404 example

* Added references for Automatic pre-rendering

* Added a typescript section for AMP

* Executed doctoc again to add AMP sections

* Properly explain automatic pre-rendering

* Switch back to LF

* Apply corrections
Co-Authored-By: NJoe Haddad <timer150@gmail.com>

* Minor corrections

* Added back some periods

* Added back some periods
上级 090a06bb
......@@ -1476,7 +1476,6 @@ module.exports = {
- `isServer` - `Boolean` 型,为`true`使用在服务端, 为`false`使用在客户端.
- `defaultLoaders` - 对象型 ,内部加载器, 你可以如下配置
- `babel` - 对象型,配置`babel-loader`.
- `hotSelfAccept` - 对象型, `hot-self-accept-loader`配置选项.这个加载器只能用于高阶案例。如 [`@zeit/next-typescript`](https://github.com/zeit/next-plugins/tree/master/packages/next-typescript)添加顶层 typescript 页面。
`defaultLoaders.babel`使用案例如下:
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册