@titian-design/h5
v0.2.0
Published
Titian h5 basic
Downloads
34
Readme
介绍
源自微盟移动端核心业务,我们的目标是通过 Titian 组件库,帮助广大开发者,并不断的完善与努力打造良好的移动端产品体验。
安装
# 通过 npm 安装
npm i @titian-design/h5 --save
# 通过 yarn 安装
yarn add @titian-design/h5
使用
import { applyPolyfills, defineCustomElements } from '@titian-design/h5/loader';
const App = () => (
<div className="App">
<ti-button type="primary">Button</ti-button>
</div>
);
applyPolyfills().then(() => {
defineCustomElements();
});
export default App;