VUE系列之Vant 移动端组件库的使用

#通过 npm 安装

VUE系列之Vant 移动端组件库的使用

#查看是否安装完成
VUE系列之Vant 移动端组件库的使用

#main.js 引入vant组件
VUE系列之Vant 移动端组件库的使用

#按钮使用
例子:

<van-button type="default">默认按钮</van-button>

更多组件使用查看:https://youzan.github.io/vant/?source=vuejsorg#/zh-CN/button

猜你喜欢

转载自blog.51cto.com/14388114/2462264