0.1.2 • Published 1 year ago

titian-h5 v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

介绍

源自微盟移动端核心业务,我们的目标是通过 Titian 组件库,帮助广大开发者,并不断的完善与努力打造良好的移动端产品体验。

安装

# 通过 npm 安装
npm i titian-h5 --save

# 通过 yarn 安装
yarn add titian-h5

使用

import { applyPolyfills, defineCustomElements } from 'titian-h5/loader';

const App = () => (
  <div className="App">
    <ti-button type="primary">Button</ti-button>
  </div>
);

applyPolyfills().then(() => {
  defineCustomElements();
});

export default App;

其他链接