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.
相關文章
相關標籤/搜索