在微信小程序里使用了vant-weapp这个ui框架,因此写一下

下载代码:git clone https://github.com/youzan/vant-weapp.git

将代码放在mpvue的static 的文件下,如:微信小程序 mpvue  使用vant-weapp

 

使用的话,就在当前文件下的main.json文件下

微信小程序 mpvue  使用vant-weapp

在index.vue 直接使用就可以了

如下:微信小程序 mpvue  使用vant-weapp

 

注意一下,有的可能需要把es6转化为es5

 

相关文章:

  • 2021-06-14
  • 2021-06-01
  • 2021-06-06
  • 2021-05-20
  • 2021-04-02
  • 2021-09-02
  • 2022-12-23
  • 2021-07-10
猜你喜欢
  • 2022-01-22
  • 2022-12-23
  • 2021-08-16
  • 2022-12-23
  • 2021-05-27
  • 2021-04-01
  • 2021-08-18
相关资源
相似解决方案