xiantou-wechatui
v1.0.1
Published
# 下载组件
Downloads
7
Readme
⭐️ xiantou-wechatui
下载组件
步骤 1:安装到项目根目录下
cnpm i xiantou-wechatui -S
步骤 2:构建 npm 包 (将 node_modules 变成公共组件直接用
开发工具左上角工具菜单 -》 构建npm包
开发工具右上角详情菜单 -》 本地设置 -》 使用npm模块
使用组件
xxx.json
{
"usingComponents": {
"comp": "/xiantou-wechatui/components/button/button",
}
}
xxx.wxml
<comp type="primary"></comp>
xxx.js