diff --git a/docs/.vuepress/utils/vueJson.json b/docs/.vuepress/utils/vueJson.json index b3249dab8976885e7e7a7178b2f5616226f5c348..b403eb9f1eda20fa7e9816efcb6d7f877689cac8 100644 --- a/docs/.vuepress/utils/vueJson.json +++ b/docs/.vuepress/utils/vueJson.json @@ -160,7 +160,7 @@ "E_App": { "example": { "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/App.uvue", - "code": "```vue\n\r\n\r\n\n```", + "code": "```vue\n\r\n\r\n\r\n\n```", "webUrl": "https://hellouvue.dcloud.net.cn/#" } }, @@ -451,7 +451,7 @@ }, "props_array-literal-options": { "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/component-instance/props/array-literal-options.uvue", - "code": "```vue\n\r\n\r\n\r\n\n```", + "code": "```vue\n\r\n\r\n\r\n\n```", "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/component-instance/props/array-literal-options" }, "props_object-type-composition": { @@ -521,7 +521,7 @@ }, "root_child-composition": { "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/component-instance/root/child-composition.uvue", - "code": "```vue\n\r\n\r\n\r\n\n```", + "code": "```vue\n\r\n\r\n\r\n\n```", "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/component-instance/root/child-composition" }, "root_child-options": { @@ -531,7 +531,7 @@ }, "root_root-composition": { "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/component-instance/root/root-composition.uvue", - "code": "```vue\n\r\n\r\n\r\n\r\n\n```", + "code": "```vue\n\r\n\r\n\n```", "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/component-instance/root/root-composition" }, "root_root-options": { @@ -606,12 +606,12 @@ }, "mixins_components_Comp1": { "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/component-instance/mixins/components/Comp1.uvue", - "code": "```vue\n\r\n\r\n\r\n\n```", + "code": "```vue\n\r\n\r\n\r\n\n```", "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/component-instance/mixins/components/Comp1" }, "mixins_components_Comp2": { "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/component-instance/mixins/components/Comp2.uvue", - "code": "```vue\n\r\n\r\n\r\n\n```", + "code": "```vue\n\r\n\r\n\r\n\n```", "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/component-instance/mixins/components/Comp2" }, "mixins_components_CompForComp": { @@ -693,7 +693,7 @@ }, "v-bind_v-bind-options": { "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/directive/v-bind/v-bind-options.uvue", - "code": "```vue\n\n\n\n\n\n\n```", + "code": "```vue\n\r\n\r\n\r\n\r\n\r\n\n```", "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/directive/v-bind/v-bind-options" }, "v-for_v-for-composition": { @@ -911,16 +911,6 @@ } }, "E_built-in": { - "component_component_component-composition": { - "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/component/component/component-composition.uvue", - "code": "```vue\n\r\n\r\n\r\n\r\n\n```", - "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/component/component/component-composition" - }, - "component_component_component-options": { - "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/component/component/component-options.uvue", - "code": "```vue\n\r\n\r\n\r\n\r\n\n```", - "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/component/component/component-options" - }, "component_keep-alive_keep-alive-composition": { "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/component/keep-alive/keep-alive-composition.uvue", "code": "```vue\n\r\n\r\n\r\n\r\n\n```", @@ -931,26 +921,6 @@ "code": "```vue\n\r\n\r\n\r\n\r\n\n```", "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/component/keep-alive/keep-alive-options" }, - "component_slots_child-composition": { - "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/component/slots/child-composition.uvue", - "code": "```vue\n\r\n\r\n\n```", - "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/component/slots/child-composition" - }, - "component_slots_child-options": { - "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/component/slots/child-options.uvue", - "code": "```vue\n\r\n\r\n\r\n\n```", - "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/component/slots/child-options" - }, - "component_slots_slots-composition": { - "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/component/slots/slots-composition.uvue", - "code": "```vue\n\r\n\r\n\n```", - "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/component/slots/slots-composition" - }, - "component_slots_slots-options": { - "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/component/slots/slots-options.uvue", - "code": "```vue\n\r\n\r\n\n```", - "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/component/slots/slots-options" - }, "component_teleport_teleport-composition": { "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/component/teleport/teleport-composition.uvue", "code": "```vue\n\r\n\r\n\r\n\r\n\n```", @@ -961,25 +931,55 @@ "code": "```vue\n\r\n\r\n\r\n\r\n\r\n\n```", "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/component/teleport/teleport-options" }, - "component_template_template-composition": { - "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/component/template/template-composition.uvue", - "code": "```vue\n\r\n\r\n\r\n\r\n\n```", - "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/component/template/template-composition" + "special-elements_component_component-composition": { + "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/special-elements/component/component-composition.uvue", + "code": "```vue\n\r\n\r\n\r\n\r\n\n```", + "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/special-elements/component/component-composition" + }, + "special-elements_component_component-options": { + "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/special-elements/component/component-options.uvue", + "code": "```vue\n\r\n\r\n\r\n\r\n\n```", + "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/special-elements/component/component-options" + }, + "special-elements_slots_child-composition": { + "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/special-elements/slots/child-composition.uvue", + "code": "```vue\n\r\n\r\n\n```", + "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/special-elements/slots/child-composition" + }, + "special-elements_slots_child-options": { + "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/special-elements/slots/child-options.uvue", + "code": "```vue\n\r\n\r\n\r\n\n```", + "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/special-elements/slots/child-options" + }, + "special-elements_slots_slots-composition": { + "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/special-elements/slots/slots-composition.uvue", + "code": "```vue\n\r\n\r\n\n```", + "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/special-elements/slots/slots-composition" + }, + "special-elements_slots_slots-options": { + "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/special-elements/slots/slots-options.uvue", + "code": "```vue\n\r\n\r\n\n```", + "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/special-elements/slots/slots-options" + }, + "special-elements_template_template-composition": { + "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/special-elements/template/template-composition.uvue", + "code": "```vue\n\r\n\r\n\r\n\r\n\n```", + "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/special-elements/template/template-composition" }, - "component_template_template-map-style-composition": { - "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/component/template/template-map-style-composition.uvue", + "special-elements_template_template-map-style-composition": { + "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/special-elements/template/template-map-style-composition.uvue", "code": "```vue\n\r\n\r\n\r\n\r\n\n```", - "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/component/template/template-map-style-composition" + "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/special-elements/template/template-map-style-composition" }, - "component_template_template-map-style-options": { - "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/component/template/template-map-style-options.uvue", + "special-elements_template_template-map-style-options": { + "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/special-elements/template/template-map-style-options.uvue", "code": "```vue\n\r\n\r\n\r\n\r\n\n```", - "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/component/template/template-map-style-options" + "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/special-elements/template/template-map-style-options" }, - "component_template_template-options": { - "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/component/template/template-options.uvue", - "code": "```vue\n\r\n\r\n\r\n\r\n\r\n\n```", - "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/component/template/template-options" + "special-elements_template_template-options": { + "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/built-in/special-elements/template/template-options.uvue", + "code": "```vue\n\r\n\r\n\r\n\r\n\r\n\n```", + "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/built-in/special-elements/template/template-options" } }, "E_reactivity": { @@ -1115,7 +1115,7 @@ }, "utilities_to-value_to-value": { "gitUrl": "https://gitcode.net/dcloud/hello-uvue/-/tree/alpha/pages/reactivity/utilities/to-value/to-value.uvue", - "code": "```vue\n\r\n\r\n\r\n\n```", + "code": "```vue\n\r\n\r\n\r\n\n```", "webUrl": "https://hellouvue.dcloud.net.cn/#/pages/reactivity/utilities/to-value/to-value" }, "utilities_un-ref_un-ref": { diff --git a/docs/vue/component.md b/docs/vue/component.md index 3dcc0f0d30fbe9fd5180d3ef8553cf5fce079ffe..2290b7f96002b2de4d434350a9ecdd1457efa9b9 100644 --- a/docs/vue/component.md +++ b/docs/vue/component.md @@ -463,17 +463,17 @@ Uni`组件名(驼峰)`Element ## 作用域插槽的类型 @scoped-slot-type -示例 [详情]() +示例 [详情]() 作用域插槽需在组件中指定插槽数据类型 -::: preview +::: preview > 选项式 API - + > 组合式 API - + ::: diff --git a/docs/vue/data-bind.md b/docs/vue/data-bind.md index 0959081e7c5a28c3f968c5ab36aef86c70d71f08..2ffd027acc23bf5d1720a3203539b4f502d8ba84 100644 --- a/docs/vue/data-bind.md +++ b/docs/vue/data-bind.md @@ -70,15 +70,15 @@ - `v-if`、`v-else-if` 或 `v-else` - `v-for` -示例 [详情]() +示例 [详情]() -::: preview +::: preview > 选项式 API - + > 组合式 API - + ::: ### 在样式里绑定 @v-bind-css-data diff --git a/docs/vue/options-api.md b/docs/vue/options-api.md index dec4177b5899f735d5a434feebc536466ddd666f..8834a979add624d92e4cbd96b94c7282ebb8153c 100644 --- a/docs/vue/options-api.md +++ b/docs/vue/options-api.md @@ -86,10 +86,10 @@ 用于声明组件的字符串模板。 -示例 [详情]() +示例 [详情]() -::: preview - +::: preview + ::: #### render