Code Monkey home page Code Monkey logo

titian-h5's Introduction

NPM FIGMA LICENSE NPM downloads

Titian Design 适配移动端H5组件库。

🎉 特性

  • 60+ 高质量组件
  • 适配移动端交互
  • 支持多框架,包括Web Components 、React和Vue 3.0
  • 支持按需加载
  • 支持主题定制,内置三种风格
  • 支持 SSR
  • 国际化支持

🔥 安装

React 项目

npm install @titian-design/mobile-react

Vue 3.0 项目

npm install @titian-design/mobile-vue

👍 使用

React 项目

import { TiButton } from '@titian-design/mobile-react';

const App = () => (
  <div className="App">
    <TiButton type="primary">Button</TiButton>
  </div>
);

export default App;

Vue 3.0 项目

import { createApp } from 'vue'
import { TitianUI } from '@titian-design/mobile-vue'
import App from './App.vue'

const app = createApp(App)

app.use(TitianUI)
app.mount('#app')

🔨 本地开发

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

packages

代码路径 npm 包名 说明 依赖于
packages/h5 @titian-design/h5 H5 组件库源文件,是以 stencil 为基础。 @stencil/core
packages/h5-react @titian-design/mobile-react 基于 @titian-design/h5 搭建的 react 组件库 @titian-design/h5
packages/h5-vue @titian-design/mobile-vue 基于 @titian-design/h5 搭建的 vue 3 组件库 @titian-design/h5
packages/doc-web - 基于 docusaurus 搭建的 API 文档 @titian-design/mobile-react

🎈 协议

Titian Design 使用 MIT 协议

titian-h5's People

Contributors

niuzhuang avatar simon-he95 avatar suntgr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

titian-h5's Issues

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.