Giter Site home page Giter Site logo

johnsonwong666 / titian-weapp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from weimob-tech/titian-weapp

0.0 0.0 0.0 884 KB

Titian 小程序 UI 组件库

Home Page: https://titian.design.weimob.com

License: MIT License

JavaScript 29.24% TypeScript 48.58% Less 22.19%

titian-weapp's Introduction

NPM FIGMA LICENSE NPM downloads

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

🏆 预览

可交互式组件示例,请使用微信扫码预览 ↓

🎉 特性

  • 60+ 高质量组件
  • 适配移动端交互
  • 支持主题定制,内置三种风格
  • 国际化支持
  • 多渠道支持,借力微盟自研小程序多渠道转码工具(即将开源)

🔥 安装

小程序支持使用 NPM 安装第三方包。

具体使用方式,可以参考小程序官网文档: 《NPM 支持》

npm install @titian-design/weapp -S --production

👍 使用

以按钮组件为例,首先在json文件中引入按钮组件

{
  "usingComponents": {
    "ti-button": "@titian-design/weapp/button/index"
  }
}

然后就可在wxml中使用按钮组件

<ti-button type="primary">按钮</ti-button>

🔨 本地开发

$ git clone [email protected]:weimob-tech/titian-weapp.git
$ cd titian-weapp
$ npm install pnpm -g
$ pnpm install
$ pnpm start

开发者工具中打开example/example-weapp目录

🎈 协议

Titian Design 使用 MIT 协议

titian-weapp's People

Contributors

niuzhuang avatar suntgr 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.