little-guy-myui

1.0.0 • Public • Published

⭐️ little-guy-myui

下载组件

步骤 1:安装到项目根目录下

cnpm i little-guy-myui -S

步骤 2:构建 npm 包 (将 node_modules 变成公共组件直接用

开发工具左上角工具菜单 -》 构建npm包
开发工具右上角详情菜单 -》 本地设置 -》 使用npm模块(注:现在已经更新不需要配置了)

使用组件

xxx.json

{
  "usingComponents": {
    "li-button":"little-guy-myui/button/buttom"
  }
}

xxx.wxml

<li-button bindtap="handleClick">
hello,webopenfather
</li-button>

<li-button type="warn" bindtap="handleClick">
hello,神龙教主
</li-button>


xxx.js


Readme

Keywords

none

Package Sidebar

Install

npm i little-guy-myui

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

15.5 kB

Total Files

16

Last publish

Collaborators

  • little-guy