提交 cee5edba 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

refactor(directive): v-pre

上级 07972eaa
......@@ -195,6 +195,12 @@
"navigationBarTitleText": "v-on 组合式 API"
}
},
{
"path": "pages/directive/v-pre/v-pre",
"style": {
"navigationBarTitleText": "v-pre"
}
},
{
......@@ -273,12 +279,6 @@
"navigationBarTitleText": "v-memo"
}
},
{
"path": "pages/directive/v-pre/v-pre",
"style": {
"navigationBarTitleText": "v-pre"
}
},
{
"path": "pages/directive/v-slot/v-slot",
"style": {
......
<template>
<view class="page">
<view class="split-title">v-pre</view>
<text class="uni-common-mt v-pre-text" v-pre>{{ this will not be compiled }}</text>
<text class="bold mb-10">v-pre 跳过该元素及其所有子元素的编译</text>
<text class="mb-10 v-pre-text" v-pre>{{ this will not be compiled }}</text>
</view>
</template>
......@@ -714,6 +714,11 @@ export default {
url: 'v-on-composition'
},
]
},
{
id: 'v-pre',
name: 'v-pre',
url: 'v-pre/v-pre'
}
]
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册