vant/v3/assets/home.zh-CN.3fe9daec.js
2024-04-20 08:49:23 +00:00

2 lines
12 KiB
JavaScript

import{o as a,a as e,y as n}from"./vue-libs.b44bc779.js";const i={class:"van-doc-markdown-body"},h=n('<div class="van-doc-card"><div class="van-doc-intro"><img class="van-doc-intro__logo" style="width:120px;height:120px;" src="https://fastly.jsdelivr.net/npm/@vant/assets/logo.png"><h2 style="margin:0;font-size:36px;line-height:60px;">Vant</h2><p>\u8F7B\u91CF\u3001\u53EF\u9760\u7684\u79FB\u52A8\u7AEF Vue \u7EC4\u4EF6\u5E93</p></div></div><div class="van-doc-card"><h3 id="jie-shao" tabindex="-1">\u4ECB\u7ECD</h3><p>Vant \u662F\u4E00\u4E2A<strong>\u8F7B\u91CF\u3001\u53EF\u9760\u7684\u79FB\u52A8\u7AEF\u7EC4\u4EF6\u5E93</strong>\uFF0C\u4E8E 2017 \u5E74\u5F00\u6E90\u3002</p><p>\u76EE\u524D Vant \u5B98\u65B9\u63D0\u4F9B\u4E86 <a href="https://vant-contrib.gitee.io/vant/v2" target="_blank">Vue 2 \u7248\u672C</a>\u3001<a href="https://vant-contrib.gitee.io/vant" target="_blank">Vue 3 \u7248\u672C</a>\u548C<a href="http://vant-contrib.gitee.io/vant-weapp" target="_blank">\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u7248\u672C</a>\uFF0C\u5E76\u7531\u793E\u533A\u56E2\u961F\u7EF4\u62A4 <a href="https://github.com/3lang3/react-vant" target="_blank">React \u7248\u672C</a>\u548C<a href="https://github.com/ant-move/Vant-Aliapp" target="_blank">\u652F\u4ED8\u5B9D\u5C0F\u7A0B\u5E8F\u7248\u672C</a>\u3002</p></div><div class="van-doc-card"><h3 id="te-xing" tabindex="-1">\u7279\u6027</h3><ul><li>\u{1F680} \u6027\u80FD\u6781\u4F73\uFF0C\u7EC4\u4EF6\u5E73\u5747\u4F53\u79EF\u5C0F\u4E8E 1KB\uFF08min+gzip\uFF09</li><li>\u{1F680} 70+ \u4E2A\u9AD8\u8D28\u91CF\u7EC4\u4EF6\uFF0C\u8986\u76D6\u79FB\u52A8\u7AEF\u4E3B\u6D41\u573A\u666F</li><li>\u{1F680} \u96F6\u5916\u90E8\u4F9D\u8D56\uFF0C\u4E0D\u4F9D\u8D56\u4E09\u65B9 npm \u5305</li><li>\u{1F4AA} \u4F7F\u7528 TypeScript \u7F16\u5199\uFF0C\u63D0\u4F9B\u5B8C\u6574\u7684\u7C7B\u578B\u5B9A\u4E49</li><li>\u{1F4AA} \u5355\u5143\u6D4B\u8BD5\u8986\u76D6\u7387\u8D85\u8FC7 90%\uFF0C\u63D0\u4F9B\u7A33\u5B9A\u6027\u4FDD\u969C</li><li>\u{1F4D6} \u63D0\u4F9B\u4E30\u5BCC\u7684\u4E2D\u82F1\u6587\u6587\u6863\u548C\u7EC4\u4EF6\u793A\u4F8B</li><li>\u{1F4D6} \u63D0\u4F9B Sketch \u548C Axure \u8BBE\u8BA1\u8D44\u6E90</li><li>\u{1F36D} \u652F\u6301 Vue 2\u3001Vue 3 \u548C\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F</li><li>\u{1F36D} \u652F\u6301\u4E3B\u9898\u5B9A\u5236\uFF0C\u5185\u7F6E 700+ \u4E2A\u4E3B\u9898\u53D8\u91CF</li><li>\u{1F36D} \u652F\u6301\u6309\u9700\u5F15\u5165\u548C Tree Shaking</li><li>\u{1F36D} \u652F\u6301\u65E0\u969C\u788D\u8BBF\u95EE\uFF08\u6301\u7EED\u6539\u8FDB\u4E2D\uFF09</li><li>\u{1F36D} \u652F\u6301\u6DF1\u8272\u6A21\u5F0F</li><li>\u{1F36D} \u652F\u6301\u670D\u52A1\u5668\u7AEF\u6E32\u67D3</li><li>\u{1F30D} \u652F\u6301\u56FD\u9645\u5316\uFF0C\u5185\u7F6E 20+ \u79CD\u8BED\u8A00\u5305</li></ul></div><div class="van-doc-card"><h3 id="ban-ben-ti-shi" tabindex="-1">\u7248\u672C\u63D0\u793A</h3><p>\u4F60\u5F53\u524D\u6D4F\u89C8\u7684\u662F <strong>Vant 3.x \u7248\u672C</strong> \u7684\u6587\u6863\uFF0C\u9002\u7528\u4E8E Vue 3 \u5F00\u53D1\u3002\u5982\u679C\u4F60\u5728\u4F7F\u7528 Vue 2\uFF0C\u8BF7\u6D4F\u89C8 <a href="https://vant-contrib.gitee.io/vant/v2" target="_blank">Vant 2 \u6587\u6863</a>\u3002</p></div><div class="van-doc-card"><h3 id="kuai-su-shang-shou" tabindex="-1">\u5FEB\u901F\u4E0A\u624B</h3><p>\u8BF7\u9605\u8BFB<a href="#/zh-CN/quickstart" target="_blank">\u5FEB\u901F\u4E0A\u624B</a>\u7AE0\u8282\uFF0C\u901A\u8FC7\u8BE5\u7AE0\u8282\u4F60\u53EF\u4EE5\u4E86\u89E3\u5230 Vant \u7684\u5B89\u88C5\u65B9\u6CD5\u548C\u57FA\u672C\u4F7F\u7528\u59FF\u52BF\u3002</p></div><div class="van-doc-card"><h3 id="liu-lan-qi-zhi-chi" tabindex="-1">\u6D4F\u89C8\u5668\u652F\u6301</h3><p>Vant 2 \u652F\u6301\u73B0\u4EE3\u6D4F\u89C8\u5668\u4EE5\u53CA Android &gt;= 4.0\u3001iOS &gt;= 8.0\u3002</p><p>Vant 3/4 \u652F\u6301\u73B0\u4EE3\u6D4F\u89C8\u5668\u4EE5\u53CA Chrome &gt;= 51\u3001iOS &gt;= 10.0\uFF08\u4E0E Vue 3 \u4E00\u81F4\uFF09\u3002</p></div><div class="van-doc-card"><h3 id="wei-hu-zhuang-tai" tabindex="-1">\u7EF4\u62A4\u72B6\u6001</h3><p>\u76EE\u524D Vant \u5404\u4E2A\u7248\u672C\u7684\u7EF4\u62A4\u72B6\u6001\u5982\u4E0B\uFF1A</p><table><thead><tr><th>\u540D\u79F0</th><th>\u6846\u67B6</th><th>\u53D1\u5E03\u65F6\u95F4</th><th>\u6700\u65B0\u7248</th><th>\u7EF4\u62A4\u72B6\u6001</th></tr></thead><tbody><tr><td>Vant 4</td><td>Vue 3</td><td><code>2022.11</code></td><td><img src="https://img.shields.io/npm/v/vant/latest?style=flat-square" alt=""></td><td>\u6301\u7EED\u8FED\u4EE3\u65B0\u529F\u80FD</td></tr><tr><td>Vant 3</td><td>Vue 3</td><td><code>2020.12</code></td><td><img src="https://img.shields.io/npm/v/vant/latest-v3?style=flat-square" alt=""></td><td>\u505C\u6B62\u8FED\u4EE3\u65B0\u529F\u80FD\uFF0Cbug \u4F1A\u88AB\u5904\u7406\u548C\u4FEE\u590D</td></tr><tr><td>Vant 2</td><td>Vue 2</td><td><code>2019.06</code></td><td><img src="https://img.shields.io/npm/v/vant/latest-v2?style=flat-square" alt=""></td><td>\u505C\u6B62\u8FED\u4EE3\u65B0\u529F\u80FD\uFF0C\u91CD\u8981 bug \u4F1A\u88AB\u5904\u7406\u548C\u4FEE\u590D</td></tr><tr><td>Vant 1</td><td>Vue 2</td><td><code>2018.03</code></td><td><img src="https://img.shields.io/npm/v/vant/latest-v1?style=flat-square" alt=""></td><td>\u505C\u6B62\u7EF4\u62A4\uFF0C\u4E0D\u518D\u63A5\u53D7 PR</td></tr></tbody></table></div><h2 id="lian-jie" tabindex="-1">\u94FE\u63A5</h2><div class="van-doc-card"><h3 id="guan-fang-sheng-tai" tabindex="-1">\u5B98\u65B9\u751F\u6001</h3><p>\u7531 Vant \u5B98\u65B9\u56E2\u961F\u7EF4\u62A4\u7684\u9879\u76EE\u5982\u4E0B\uFF1A</p><table><thead><tr><th>\u9879\u76EE</th><th>\u63CF\u8FF0</th></tr></thead><tbody><tr><td><a href="https://github.com/vant-ui/vant-weapp" target="_blank">vant-weapp</a></td><td>Vant \u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u7248</td></tr><tr><td><a href="https://github.com/vant-ui/vant-demo" target="_blank">vant-demo</a></td><td>Vant \u5B98\u65B9\u793A\u4F8B\u5408\u96C6</td></tr><tr><td><a href="https://github.com/vant-ui/vant/tree/3.x/packages/vant-cli" target="_blank">vant-cli</a></td><td>\u5F00\u7BB1\u5373\u7528\u7684\u7EC4\u4EF6\u5E93\u642D\u5EFA\u5DE5\u5177</td></tr><tr><td><a href="https://github.com/vant-ui/vant/tree/3.x/packages/vant-icons" target="_blank">vant-icons</a></td><td>Vant \u56FE\u6807\u5E93</td></tr><tr><td><a href="https://github.com/vant-ui/vant/tree/3.x/packages/vant-touch-emulator" target="_blank">vant-touch-emulator</a></td><td>\u5728\u684C\u9762\u7AEF\u4F7F\u7528 Vant \u7684\u8F85\u52A9\u5E93</td></tr></tbody></table></div><div class="van-doc-card"><h3 id="she-qu-sheng-tai" tabindex="-1">\u793E\u533A\u751F\u6001</h3><p>\u7531\u793E\u533A\u7EF4\u62A4\u7684\u9879\u76EE\u5982\u4E0B\uFF0C\u6B22\u8FCE\u8865\u5145\uFF1A</p><table><thead><tr><th>\u9879\u76EE</th><th>\u63CF\u8FF0</th></tr></thead><tbody><tr><td><a href="https://github.com/3lang3/react-vant" target="_blank">3lang3/react-vant</a></td><td>\u53C2\u7167 Vant \u6253\u9020\u7684 React \u79FB\u52A8\u7AEF\u7EC4\u4EF6\u5E93</td></tr><tr><td><a href="https://github.com/ant-move/Vant-Aliapp" target="_blank">vant-aliapp</a></td><td>Vant \u652F\u4ED8\u5B9D\u5C0F\u7A0B\u5E8F\u7248</td></tr><tr><td><a href="https://gitee.com/mallfoundry/taroify" target="_blank">taroify</a></td><td>Vant Taro \u7248</td></tr><tr><td><a href="https://github.com/Aisen60/vant-theme" target="_blank">vant-theme</a></td><td>Vant \u5728\u7EBF\u4E3B\u9898\u9884\u89C8\u5DE5\u5177</td></tr><tr><td><a href="https://github.com/antmjs/vantui" target="_blank">@antmjs/vantui</a></td><td>\u57FA\u4E8E Vant Weapp \u5F00\u53D1\u7684\u591A\u7AEF\u7EC4\u4EF6\u5E93\uFF0C\u540C\u65F6\u652F\u6301 Taro \u548C React</td></tr><tr><td><a href="https://github.com/zhixiaoqiang/sfc-playground-vant" target="_blank">sfc-playground-vant</a></td><td>Vant Playground. \u5F53\u524D\u4EC5\u652F\u6301 Vant 3.0 \u4EE5\u4E0A</td></tr></tbody></table></div><div class="van-doc-card"><h3 id="qi-ta-lian-jie" tabindex="-1">\u5176\u4ED6\u94FE\u63A5</h3><ul><li><a href="https://github.com/vant-ui/vant/issues" target="_blank">\u610F\u89C1\u53CD\u9988</a></li><li><a href="#/zh-CN/changelog" target="_blank">\u66F4\u65B0\u65E5\u5FD7</a></li><li><a href="https://gitee.com/vant-contrib/vant" target="_blank">\u7801\u4E91\u955C\u50CF\u4ED3\u5E93</a></li><li><a href="https://github.com/vant-ui/vant/discussions" target="_blank">Discussions \u8BA8\u8BBA\u533A</a></li></ul></div><h2 id="gong-xian" tabindex="-1">\u8D21\u732E</h2><div class="van-doc-card"><h3 id="he-xin-tuan-dui" tabindex="-1">\u6838\u5FC3\u56E2\u961F</h3><p>\u4EE5\u4E0B\u662F Vant \u548C Vant Weapp \u7684\u6838\u5FC3\u8D21\u732E\u8005\u4EEC\uFF1A</p><table><thead><tr><th style="text-align:center;"><a href="https://github.com/chenjiahan/" target="_blank"><img src="https://avatars.githubusercontent.com/u/7237365?s=80&amp;v=4" alt="chenjiahan"></a></th><th style="text-align:center;"><a href="https://github.com/cookfront/" target="_blank"><img src="https://avatars.githubusercontent.com/u/4829465?s=80&amp;v=4" alt="cookfront"></a></th><th style="text-align:center;"><a href="https://github.com/w91/" target="_blank"><img src="https://avatars.githubusercontent.com/u/2599455?s=80&amp;v=4" alt="w91"></a></th><th style="text-align:center;"><a href="https://github.com/pangxie1991/" target="_blank"><img src="https://avatars.githubusercontent.com/u/5961240?s=80&amp;v=4" alt="pangxie1991"></a></th><th style="text-align:center;"><a href="https://github.com/rex-zsd/" target="_blank"><img src="https://avatars.githubusercontent.com/u/8767877?s=80&amp;v=4" alt="rex-zsd"></a></th><th style="text-align:center;"><a href="https://github.com/nemo-shen/" target="_blank"><img src="https://avatars.githubusercontent.com/u/13480805?s=80&amp;v=4" alt="nemo-shen"></a></th><th style="text-align:center;"><a href="https://github.com/Lindysen/" target="_blank"><img src="https://avatars.githubusercontent.com/u/33708359?s=80&amp;v=4" alt="Lindysen"></a></th><th style="text-align:center;"><a href="https://github.com/JakeLaoyu/" target="_blank"><img src="https://avatars.githubusercontent.com/u/16181940?s=80&amp;v=4" alt="nemo-shen"></a></th></tr></thead><tbody><tr><td style="text-align:center;"><a href="https://github.com/chenjiahan/" target="_blank">chenjiahan</a></td><td style="text-align:center;"><a href="https://github.com/cookfront/" target="_blank">cookfront</a></td><td style="text-align:center;"><a href="https://github.com/w91/" target="_blank">wangnaiyi</a></td><td style="text-align:center;"><a href="https://github.com/pangxie1991/" target="_blank">pangxie</a></td><td style="text-align:center;"><a href="https://github.com/rex-zsd/" target="_blank">rex-zsd</a></td><td style="text-align:center;"><a href="https://github.com/nemo-shen/" target="_blank">nemo-shen</a></td><td style="text-align:center;"><a href="https://github.com/Lindysen/" target="_blank">Lindysen</a></td><td style="text-align:center;"><a href="https://github.com/JakeLaoyu/" target="_blank">JakeLaoyu</a></td></tr></tbody></table></div><div class="van-doc-card"><h3 id="gong-xian-zhe-men" tabindex="-1">\u8D21\u732E\u8005\u4EEC</h3><p>\u611F\u8C22\u4EE5\u4E0B\u5C0F\u4F19\u4F34\u4EEC\u4E3A Vant \u53D1\u5C55\u505A\u51FA\u7684\u8D21\u732E\uFF1A</p><a href="https://github.com/vant-ui/vant/graphs/contributors" target="_black"><img src="https://opencollective.com/vant/contributors.svg?width=890&amp;button=false" alt="contributors" style="width:100%;margin:16px 0;"></a></div><div class="van-doc-card"><h3 id="gong-xian-zhi-nan" tabindex="-1">\u8D21\u732E\u6307\u5357</h3><p>\u8D21\u732E\u4EE3\u7801\u8BF7\u9605\u8BFB\u6211\u4EEC\u7684<a href="#/zh-CN/contribution" target="_blank">\u8D21\u732E\u6307\u5357</a>\u3002</p><p>\u4F7F\u7528\u8FC7\u7A0B\u4E2D\u53D1\u73B0\u4EFB\u4F55\u95EE\u9898\u90FD\u53EF\u4EE5\u63D0 <a href="https://github.com/vant-ui/vant/issues" target="_blank">Issue</a> \u7ED9\u6211\u4EEC\uFF0C\u5F53\u7136\uFF0C\u6211\u4EEC\u4E5F\u975E\u5E38\u6B22\u8FCE\u4F60\u7ED9\u6211\u4EEC\u53D1 <a href="https://github.com/vant-ui/vant/pulls" target="_blank">PR</a>\u3002</p></div><div class="van-doc-card"><h3 id="kai-yuan-xie-yi" tabindex="-1">\u5F00\u6E90\u534F\u8BAE</h3><p>\u672C\u9879\u76EE\u57FA\u4E8E <a href="https://zh.wikipedia.org/wiki/MIT%E8%A8%B1%E5%8F%AF%E8%AD%89" target="_blank">MIT</a> \u534F\u8BAE\uFF0C\u8BF7\u81EA\u7531\u5730\u4EAB\u53D7\u548C\u53C2\u4E0E\u5F00\u6E90</p></div>',16),r=[h],g={__name:"home.zh-CN",setup(d,{expose:t}){return t({frontmatter:{}}),(l,c)=>(a(),e("div",i,r))}};export{g as default};