Commit 9a950f88 authored by Jinjiang's avatar Jinjiang Committed by GU Yiling

[docs][zh] updated to 21245962

parent 21245962
......@@ -84,7 +84,7 @@ This is the documentation for component B.
<script>
import ComponentB from './ComponentB.vue';
export default = {
export default {
components: { ComponentB },
data () {
return {
......
......@@ -74,3 +74,10 @@ sidebar: auto
- 默认值:`false`
编译用于 Shadow DOM 内部的组件。在该模式下,组件的样式会被注入到 `this.$root.$options.shadowRoot`,而不是文档的 head 部分。
## cacheDirectory / cacheIdentifier
- 类型:`string`
- 默认值:`undefined`
当这两个选项同时被设置时,开启基于文件系统的模板编译缓存 (需要在工程里安装 `cache-loader`)。
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment