Skip to content

Commit 810300e

Browse files
meteorlxykefranabg
authored andcommitted
docs: add missing isServer in app level enhancements (#2128)
1 parent 5d6adf1 commit 810300e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/docs/docs/guide/basic-config.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ export default ({
4545
Vue, // the version of Vue being used in the VuePress app
4646
options, // the options for the root Vue instance
4747
router, // the router instance for the app
48-
siteData // site metadata
48+
siteData, // site metadata
49+
isServer // is this enhancement applied in server-rendering or client
4950
}) => {
5051
// ...apply enhancements to the app
5152
}

packages/docs/docs/zh/guide/basic-config.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ export default ({
4545
Vue, // VuePress 正在使用的 Vue 构造函数
4646
options, // 附加到根实例的一些选项
4747
router, // 当前应用的路由实例
48-
siteData // 站点元数据
48+
siteData, // 站点元数据
49+
isServer // 当前应用配置是处于 服务端渲染 或 客户端
4950
}) => {
5051
// ...做一些其他的应用级别的优化
5152
}

0 commit comments

Comments
 (0)