- Notifications
You must be signed in to change notification settings - Fork317
A Wechat MiniProgram UI components lib for TDesign.
License
NotificationsYou must be signed in to change notification settings
Tencent/tdesign-miniprogram
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
TDesign 适配微信小程序的组件库。
小程序组件示例小程序,请使用微信扫码预览 ↓
小程序已经支持使用 NPM 安装第三方包。
具体使用方式,可以参考小程序官网文档:《NPM 支持》
npm i tdesign-miniprogram -S --production
建议使用 NPM,不再推荐“源码拷贝的方式”
以按钮组件为例,只需要在JSON 文件中引入按钮对应的自定义组件即可
{"usingComponents": {"t-button":"tdesign-miniprogram/button/button" }}# 安装项目依赖npm install# 执行组件编译npm run dev
打开微信开发者工具,把_example 目录添加进去就可以预览示例了。
最低基础库版本^2.6.5
有任何问题,建议通过Github issues 反馈或扫码加入用户微信群。
TDesign 遵循MIT 协议。
About
A Wechat MiniProgram UI components lib for TDesign.
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.


