Taro引入vant Weapp的方法
Taro(V2.0.5)中引入Vant Weapp,(需下载资源到项目中:大小约322KB) 需如下几步: 1.在/src/components下新建文件夹vant-weapp 2.在github上找到Vant-weapp下载文件包,将对应的dist文件夹下内容复制到新建的vant-weapp文件夹下。 (下载vant-weapp方式,编辑器终端输入:git clone https://github.com/youzan/vant-weapp.git ) 3.在Pages或components对应文件的config.usingComponents中,配置每个页面所需要的组件。(注:无法在app
下载地址
用户评论