vant/static/js/async/8814.bab4b65f.js
2024-04-20 08:49:23 +00:00

2 lines
16 KiB
JavaScript

/*! For license information please see 8814.bab4b65f.js.LICENSE.txt */
(self.webpackChunk=self.webpackChunk||[]).push([["8814"],{986:function(t,a,n){"use strict";n.r(a);var e=n("80681");let i=["innerHTML"];a.default={setup:()=>({html:""}),render:()=>((0,e.wg)(),(0,e.iD)("div",{class:"van-doc-markdown-body",innerHTML:'<div class="van-doc-card">\n <div class="van-doc-intro">\n <img class="van-doc-intro__logo" style="width: 120px; height: 120px;" src="https://fastly.jsdelivr.net/npm/@vant/assets/logo.png">\n <h2 style="margin: 0; font-size: 36px; line-height: 60px;">Vant</h2>\n <p>\u8F7B\u91CF\u3001\u53EF\u5B9A\u5236\u7684\u79FB\u52A8\u7AEF Vue \u7EC4\u4EF6\u5E93</p>\n </div>\n</div>\n<div class="van-doc-card"><h3 id="jie-shao" tabindex="-1">\u4ECB\u7ECD</h3>\n<p>Vant \u662F\u4E00\u4E2A<strong>\u8F7B\u91CF\u3001\u53EF\u5B9A\u5236\u7684\u79FB\u52A8\u7AEF\u7EC4\u4EF6\u5E93</strong>\uFF0C\u4E8E 2017 \u5E74\u5F00\u6E90\u3002</p>\n<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>\n</div><div class="van-doc-card"><h3 id="te-xing" tabindex="-1">\u7279\u6027</h3>\n<ul>\n<li>\uD83D\uDE80 \u6027\u80FD\u6781\u4F73\uFF0C\u7EC4\u4EF6\u5E73\u5747\u4F53\u79EF\u5C0F\u4E8E 1KB\uFF08min+gzip\uFF09</li>\n<li>\uD83D\uDE80 80+ \u4E2A\u9AD8\u8D28\u91CF\u7EC4\u4EF6\uFF0C\u8986\u76D6\u79FB\u52A8\u7AEF\u4E3B\u6D41\u573A\u666F</li>\n<li>\uD83D\uDE80 \u96F6\u5916\u90E8\u4F9D\u8D56\uFF0C\u4E0D\u4F9D\u8D56\u4E09\u65B9 npm \u5305</li>\n<li>\uD83D\uDCAA \u4F7F\u7528 TypeScript \u7F16\u5199\uFF0C\u63D0\u4F9B\u5B8C\u6574\u7684\u7C7B\u578B\u5B9A\u4E49</li>\n<li>\uD83D\uDCAA \u5355\u5143\u6D4B\u8BD5\u8986\u76D6\u7387\u8D85\u8FC7 90%\uFF0C\u63D0\u4F9B\u7A33\u5B9A\u6027\u4FDD\u969C</li>\n<li>\uD83D\uDCD6 \u63D0\u4F9B\u4E30\u5BCC\u7684\u4E2D\u82F1\u6587\u6587\u6863\u548C\u7EC4\u4EF6\u793A\u4F8B</li>\n<li>\uD83D\uDCD6 \u63D0\u4F9B Sketch \u548C Axure \u8BBE\u8BA1\u8D44\u6E90</li>\n<li>\uD83C\uDF6D \u652F\u6301 Vue 2\u3001Vue 3 \u548C\u5FAE\u4FE1\u5C0F\u7A0B\u5E8F</li>\n<li>\uD83C\uDF6D \u652F\u6301 Nuxt 2\u3001Nuxt 3\uFF0C\u63D0\u4F9B Nuxt \u7684 <a href="https://github.com/vant-ui/vant-nuxt" target="_blank">Vant Module</a></li>\n<li>\uD83C\uDF6D \u652F\u6301\u4E3B\u9898\u5B9A\u5236\uFF0C\u5185\u7F6E 700+ \u4E2A\u4E3B\u9898\u53D8\u91CF</li>\n<li>\uD83C\uDF6D \u652F\u6301\u6309\u9700\u5F15\u5165\u548C Tree Shaking</li>\n<li>\uD83C\uDF6D \u652F\u6301\u65E0\u969C\u788D\u8BBF\u95EE\uFF08\u6301\u7EED\u6539\u8FDB\u4E2D\uFF09</li>\n<li>\uD83C\uDF6D \u652F\u6301\u6DF1\u8272\u6A21\u5F0F</li>\n<li>\uD83C\uDF6D \u652F\u6301\u670D\u52A1\u5668\u7AEF\u6E32\u67D3</li>\n<li>\uD83C\uDF0D \u652F\u6301\u56FD\u9645\u5316\uFF0C\u5185\u7F6E 30+ \u79CD\u8BED\u8A00\u5305</li>\n</ul>\n</div><div class="van-doc-card"><h3 id="ban-ben-ti-shi" tabindex="-1">\u7248\u672C\u63D0\u793A</h3>\n<p>\u4F60\u5F53\u524D\u6D4F\u89C8\u7684\u662F <strong>Vant 4.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>\n</div><div class="van-doc-card"><h3 id="jiao-shou-jia" tabindex="-1">\u811A\u624B\u67B6</h3>\n<p>\u63A8\u8350\u4F7F\u7528 <a href="https://github.com/web-infra-dev/rsbuild" target="_blank">Rsbuild</a> \u6765\u521B\u5EFA\u4E00\u4E2A\u811A\u624B\u67B6\u9879\u76EE\u3002</p>\n<p>Rsbuild \u662F\u57FA\u4E8E Rspack \u7684\u6784\u5EFA\u5DE5\u5177\uFF0C\u7531 Vant \u4F5C\u8005\u5F00\u53D1\uFF0C\u5177\u5907\u4E00\u6D41\u7684\u6784\u5EFA\u901F\u5EA6\u548C\u5F00\u53D1\u4F53\u9A8C\uFF0C\u5BF9 Vant \u63D0\u4F9B\u7B2C\u4E00\u4F18\u5148\u7EA7\u652F\u6301\u3002</p>\n<p>\u4F60\u53EF\u4EE5\u901A\u8FC7\u4EE5\u4E0B\u547D\u4EE4\u521B\u5EFA\u4E00\u4E2A Rsbuild \u9879\u76EE\uFF1A</p>\n<pre><code class="language-bash">npm create rsbuild@latest\n</code></pre>\n<p>\u8BF7\u8BBF\u95EE <a href="https://github.com/web-infra-dev/rsbuild" target="_blank">Rsbuild \u4ED3\u5E93</a> \u4E86\u89E3\u66F4\u591A\u4FE1\u606F\u3002</p>\n</div><div class="van-doc-card"><h3 id="kuai-su-shang-shou" tabindex="-1">\u5FEB\u901F\u4E0A\u624B</h3>\n<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>\n</div><div class="van-doc-card"><h3 id="liu-lan-qi-zhi-chi" tabindex="-1">\u6D4F\u89C8\u5668\u652F\u6301</h3>\n<p>Vant 2 \u652F\u6301\u73B0\u4EE3\u6D4F\u89C8\u5668\u4EE5\u53CA Android &gt;= 4.0\u3001iOS &gt;= 8.0\u3002</p>\n<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>\n</div><div class="van-doc-card"><h3 id="wei-hu-zhuang-tai" tabindex="-1">\u7EF4\u62A4\u72B6\u6001</h3>\n<p>\u76EE\u524D Vant \u5404\u4E2A\u7248\u672C\u7684\u7EF4\u62A4\u72B6\u6001\u5982\u4E0B\uFF1A</p>\n<table>\n<thead>\n<tr>\n<th>\u540D\u79F0</th>\n<th>\u6846\u67B6</th>\n<th>\u53D1\u5E03\u65F6\u95F4</th>\n<th>\u6700\u65B0\u7248</th>\n<th>\u7EF4\u62A4\u72B6\u6001</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Vant 4</td>\n<td>Vue 3</td>\n<td><code>2022.12</code></td>\n<td><img src="https://img.shields.io/npm/v/vant/latest?style=flat-square" alt=""></td>\n<td>\u6301\u7EED\u8FED\u4EE3\u65B0\u529F\u80FD</td>\n</tr>\n<tr>\n<td>Vant 3</td>\n<td>Vue 3</td>\n<td><code>2020.12</code></td>\n<td><img src="https://img.shields.io/npm/v/vant/latest-v3?style=flat-square" alt=""></td>\n<td>\u505C\u6B62\u8FED\u4EE3\u65B0\u529F\u80FD\uFF0Cbug \u4F1A\u88AB\u5904\u7406\u548C\u4FEE\u590D</td>\n</tr>\n<tr>\n<td>Vant 2</td>\n<td>Vue 2</td>\n<td><code>2019.06</code></td>\n<td><img src="https://img.shields.io/npm/v/vant/latest-v2?style=flat-square" alt=""></td>\n<td>\u505C\u6B62\u8FED\u4EE3\u65B0\u529F\u80FD\uFF0C\u91CD\u8981 bug \u4F1A\u88AB\u5904\u7406\u548C\u4FEE\u590D</td>\n</tr>\n<tr>\n<td>Vant 1</td>\n<td>Vue 2</td>\n<td><code>2018.03</code></td>\n<td><img src="https://img.shields.io/npm/v/vant/latest-v1?style=flat-square" alt=""></td>\n<td>\u505C\u6B62\u7EF4\u62A4\uFF0C\u4E0D\u518D\u63A5\u53D7 PR</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id="lian-jie" tabindex="-1">\u94FE\u63A5</h2>\n<div class="van-doc-card"><h3 id="guan-fang-sheng-tai" tabindex="-1">\u5B98\u65B9\u751F\u6001</h3>\n<p>\u7531 Vant \u5B98\u65B9\u56E2\u961F\u7EF4\u62A4\u7684\u9879\u76EE\u5982\u4E0B\uFF1A</p>\n<table>\n<thead>\n<tr>\n<th>\u9879\u76EE</th>\n<th>\u63CF\u8FF0</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href="https://github.com/vant-ui/vant-weapp" target="_blank">vant-weapp</a></td>\n<td>Vant \u5FAE\u4FE1\u5C0F\u7A0B\u5E8F\u7248</td>\n</tr>\n<tr>\n<td><a href="https://github.com/vant-ui/vant-demo" target="_blank">vant-demo</a></td>\n<td>Vant \u5B98\u65B9\u793A\u4F8B\u5408\u96C6</td>\n</tr>\n<tr>\n<td><a href="https://github.com/vant-ui/vant/tree/main/packages/vant-cli" target="_blank">vant-cli</a></td>\n<td>\u5F00\u7BB1\u5373\u7528\u7684\u7EC4\u4EF6\u5E93\u642D\u5EFA\u5DE5\u5177</td>\n</tr>\n<tr>\n<td><a href="https://github.com/vant-ui/vant/tree/main/packages/vant-icons" target="_blank">vant-icons</a></td>\n<td>Vant \u56FE\u6807\u5E93</td>\n</tr>\n<tr>\n<td><a href="https://github.com/vant-ui/vant/tree/main/packages/vant-touch-emulator" target="_blank">vant-touch-emulator</a></td>\n<td>\u5728\u684C\u9762\u7AEF\u4F7F\u7528 Vant \u7684\u8F85\u52A9\u5E93</td>\n</tr>\n<tr>\n<td><a href="https://github.com/vant-ui/vant-nuxt" target="_blank">vant-nuxt</a></td>\n<td>\u4E3A Nuxt \u51C6\u5907\u7684\u6A21\u5757</td>\n</tr>\n</tbody>\n</table>\n</div><div class="van-doc-card"><h3 id="she-qu-sheng-tai" tabindex="-1">\u793E\u533A\u751F\u6001</h3>\n<p>\u7531\u793E\u533A\u7EF4\u62A4\u7684\u9879\u76EE\u5982\u4E0B\uFF0C\u6B22\u8FCE\u8865\u5145\uFF1A</p>\n<table>\n<thead>\n<tr>\n<th>\u9879\u76EE</th>\n<th>\u63CF\u8FF0</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><a href="https://github.com/3lang3/react-vant" target="_blank">3lang3/react-vant</a></td>\n<td>\u53C2\u7167 Vant \u6253\u9020\u7684 React \u79FB\u52A8\u7AEF\u7EC4\u4EF6\u5E93</td>\n</tr>\n<tr>\n<td><a href="https://github.com/ant-move/Vant-Aliapp" target="_blank">vant-aliapp</a></td>\n<td>Vant \u652F\u4ED8\u5B9D\u5C0F\u7A0B\u5E8F\u7248</td>\n</tr>\n<tr>\n<td><a href="https://gitee.com/mallfoundry/taroify" target="_blank">taroify</a></td>\n<td>Vant Taro \u7248</td>\n</tr>\n<tr>\n<td><a href="https://github.com/Aisen60/vant-theme" target="_blank">vant-theme</a></td>\n<td>Vant \u5728\u7EBF\u4E3B\u9898\u9884\u89C8\u5DE5\u5177</td>\n</tr>\n<tr>\n<td><a href="https://github.com/antmjs/vantui" target="_blank">@antmjs/vantui</a></td>\n<td>\u57FA\u4E8E Vant Weapp \u5F00\u53D1\u7684\u591A\u7AEF\u7EC4\u4EF6\u5E93\uFF0C\u540C\u65F6\u652F\u6301 Taro \u548C React</td>\n</tr>\n<tr>\n<td><a href="https://github.com/LadyChatterleyLover/vant-playground" target="_blank">vant-playground</a></td>\n<td>Vant Playground</td>\n</tr>\n<tr>\n<td><a href="https://github.com/zhixiaoqiang/sfc-playground-vant" target="_blank">sfc-playground-vant</a></td>\n<td>Vant Playground</td>\n</tr>\n<tr>\n<td><a href="https://github.com/yulimchen/vue3-h5-template" target="_blank">vue3-h5-template</a></td>\n<td>\u57FA\u4E8E Vant \u7684\u79FB\u52A8\u7AEF\u9879\u76EE\u6A21\u677F</td>\n</tr>\n<tr>\n<td><a href="https://github.com/easy-temps/vue3-vant-mobile" target="_blank">vue3-vant-mobile</a></td>\n<td>\u57FA\u4E8E Vant \u7684\u79FB\u52A8\u7AEF\u9879\u76EE\u6A21\u677F</td>\n</tr>\n</tbody>\n</table>\n</div><div class="van-doc-card"><h3 id="qi-ta-lian-jie" tabindex="-1">\u5176\u4ED6\u94FE\u63A5</h3>\n<ul>\n<li><a href="https://github.com/vant-ui/vant/issues" target="_blank">\u610F\u89C1\u53CD\u9988</a></li>\n<li><a href="#/zh-CN/changelog" target="_blank">\u66F4\u65B0\u65E5\u5FD7</a></li>\n<li><a href="https://gitee.com/vant-contrib/vant" target="_blank">\u7801\u4E91\u955C\u50CF\u4ED3\u5E93</a></li>\n<li><a href="https://github.com/vant-ui/vant/discussions" target="_blank">Discussions \u8BA8\u8BBA\u533A</a></li>\n</ul>\n</div><h2 id="gong-xian" tabindex="-1">\u8D21\u732E</h2>\n<div class="van-doc-card"><h3 id="he-xin-tuan-dui" tabindex="-1">\u6838\u5FC3\u56E2\u961F</h3>\n<p>\u4EE5\u4E0B\u662F Vant \u548C Vant Weapp \u7684\u6838\u5FC3\u8D21\u732E\u8005\u4EEC\uFF1A</p>\n<table>\n<thead>\n<tr>\n<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>\n<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>\n<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>\n<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>\n<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>\n<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>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td style="text-align:center"><a href="https://github.com/chenjiahan/" target="_blank">chenjiahan</a></td>\n<td style="text-align:center"><a href="https://github.com/cookfront/" target="_blank">cookfront</a></td>\n<td style="text-align:center"><a href="https://github.com/w91/" target="_blank">wangnaiyi</a></td>\n<td style="text-align:center"><a href="https://github.com/pangxie1991/" target="_blank">pangxie</a></td>\n<td style="text-align:center"><a href="https://github.com/rex-zsd/" target="_blank">rex-zsd</a></td>\n<td style="text-align:center"><a href="https://github.com/nemo-shen/" target="_blank">nemo-shen</a></td>\n</tr>\n</tbody>\n</table>\n<table>\n<thead>\n<tr>\n<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>\n<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="JakeLaoyu"></a></th>\n<th style="text-align:center"><a href="https://github.com/landluck/" target="_blank"><img src="https://avatars.githubusercontent.com/u/27060081?s=80&amp;v=4" alt="landluck"></a></th>\n<th style="text-align:center"><a href="https://github.com/wjw-gavin/" target="_blank"><img src="https://avatars.githubusercontent.com/u/19986739?s=80&amp;v=4" alt="wjw-gavin"></a></th>\n<th style="text-align:center"><a href="https://github.com/inottn/" target="_blank"><img src="https://avatars.githubusercontent.com/u/18509404?s=80&amp;v=4" alt="inottn"></a></th>\n<th style="text-align:center"><a href="https://github.com/zhousg/" target="_blank"><img src="https://avatars.githubusercontent.com/u/15833290?s=80&amp;v=4" alt="zhousg"></a></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td style="text-align:center"><a href="https://github.com/Lindysen/" target="_blank">Lindysen</a></td>\n<td style="text-align:center"><a href="https://github.com/JakeLaoyu/" target="_blank">JakeLaoyu</a></td>\n<td style="text-align:center"><a href="https://github.com/landluck/" target="_blank">landluck</a></td>\n<td style="text-align:center"><a href="https://github.com/wjw-gavin/" target="_blank">wjw-gavin</a></td>\n<td style="text-align:center"><a href="https://github.com/inottn/" target="_blank">inottn</a></td>\n<td style="text-align:center"><a href="https://github.com/zhousg/" target="_blank">zhousg</a></td>\n</tr>\n</tbody>\n</table>\n</div><div class="van-doc-card"><h3 id="gong-xian-zhe-men" tabindex="-1">\u8D21\u732E\u8005\u4EEC</h3>\n<p>\u611F\u8C22\u4EE5\u4E0B\u5C0F\u4F19\u4F34\u4EEC\u4E3A Vant \u53D1\u5C55\u505A\u51FA\u7684\u8D21\u732E\uFF1A</p>\n<a href="https://github.com/vant-ui/vant/graphs/contributors" target="_black">\n <img src="https://opencollective.com/vant/contributors.svg?width=890&button=false" alt="contributors" style="width: 100%; margin: 16px 0">\n</a>\n</div><div class="van-doc-card"><h3 id="gong-xian-zhi-nan" tabindex="-1">\u8D21\u732E\u6307\u5357</h3>\n<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>\n<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>\n</div><div class="van-doc-card"><h3 id="kai-yuan-xie-yi" tabindex="-1">\u5F00\u6E90\u534F\u8BAE</h3>\n<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\u3002</p>\n</div>'},null,8,i))}}}]);