Skip to content

Commit

Permalink
docs: add missing isServer in app level enhancements (#2128)
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy authored and kefranabg committed Jan 14, 2020
1 parent 5d6adf1 commit 810300e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/docs/docs/guide/basic-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ export default ({
Vue, // the version of Vue being used in the VuePress app
options, // the options for the root Vue instance
router, // the router instance for the app
siteData // site metadata
siteData, // site metadata
isServer // is this enhancement applied in server-rendering or client
}) => {
// ...apply enhancements to the app
}
Expand Down
3 changes: 2 additions & 1 deletion packages/docs/docs/zh/guide/basic-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ export default ({
Vue, // VuePress 正在使用的 Vue 构造函数
options, // 附加到根实例的一些选项
router, // 当前应用的路由实例
siteData // 站点元数据
siteData, // 站点元数据
isServer // 当前应用配置是处于 服务端渲染 或 客户端
}) => {
// ...做一些其他的应用级别的优化
}
Expand Down

0 comments on commit 810300e

Please sign in to comment.