Skip to content

Commit 9a950f8

Browse files
JinjiangJustineo
authored andcommitted
[docs][zh] updated to 2124596
1 parent 2124596 commit 9a950f8

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Diff for: docs/zh/guide/custom-blocks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ This is the documentation for component B.
8484
<script>
8585
import ComponentB from './ComponentB.vue';
8686
87-
export default = {
87+
export default {
8888
components: { ComponentB },
8989
data () {
9090
return {

Diff for: docs/zh/options.md

+7
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,10 @@ sidebar: auto
7474
- 默认值:`false`
7575

7676
编译用于 Shadow DOM 内部的组件。在该模式下,组件的样式会被注入到 `this.$root.$options.shadowRoot`,而不是文档的 head 部分。
77+
78+
## cacheDirectory / cacheIdentifier
79+
80+
- 类型:`string`
81+
- 默认值:`undefined`
82+
83+
当这两个选项同时被设置时,开启基于文件系统的模板编译缓存 (需要在工程里安装 `cache-loader`)。

0 commit comments

Comments
 (0)