npm安装
npm install @dcloudio/uni-ui
js引用
import {uniLoadMore, uniDrawer, uniIcons} from ‘@dcloudio/uni-ui‘ components: { uniLoadMore, uniDrawer, uniIcons },
模板中的使用
<uni-icons type="plusempty" size="26"></uni-icons>
原文地址:https://www.cnblogs.com/Mijiujs/p/12125347.html
时间: 2024-10-13 01:02:54