Git Product home page Git Product logo

tdesign-miniprogram's Introduction

TDesign Logo

License Version Downloads

TDesign 适配微信小程序的组件库。

预览

小程序组件示例小程序,请使用微信扫码预览 ↓

安装

使用 NPM

小程序已经支持使用 NPM 安装第三方包,详见 NPM 支持

npm i tdesign-miniprogram -S --production

通过 Git Clone

克隆到源代码之后,将 tdesign-miniprogram 目录拷贝到自己的项目中

git clone [email protected]:Tencent/tdesign-miniprogram.git

使用组件

以按钮组件为例,只需要在 JSON 文件中引入按钮对应的自定义组件即可

{
  "usingComponents": {
    "t-button": "/path/to/tdesign-miniprogram/dist/button/index"
  }
}

在开发者工具中预览

# 安装项目依赖
npm install

# 执行组件编译
npm run dev

打开微信开发者工具,把 _example 目录添加进去就可以预览示例了。

基础库版本

最低基础库版本^2.6.5

其他技术栈实现

开源协议

TDesign 遵循 MIT 协议

tdesign-miniprogram's People

Contributors

94dreamer avatar amberlwan avatar anlyyao avatar beancookie avatar caihuiji avatar cheer555 avatar cong-min avatar deantian avatar dependabot[bot] avatar esky avatar fengzheqi avatar gaogao1994 avatar henryzt avatar honkinglin avatar ivinwu avatar jin0209 avatar jjunyang avatar leejim avatar lixingdecai avatar pengyyyyy avatar perisiguiendo avatar rileycai avatar savioryu avatar scshsy avatar shiyanzhang avatar vhxubo avatar winfans avatar wutiansweet avatar xiaosansiji avatar zhangyanggithub avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.