mpvue 引入Vant Weapp组件库

mpvue 引入Vant Weapp组件库 1、从git仓库克隆vant weapp组件库: https://github.com/youzan/vant-weapp.git; 2、将下载文件中的dist文件拷贝到自己的项目目录中(可以新建static目录,然后将dist文件导入static文件夹中); 3、组件的引入: 在需要使用ui组件的页面引入需要的某个ui组件,mpvue只需要在main.
相关文章
相关标签/搜索