Skip to content

tdida/modo-mobile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | 简体中文

Modo Mobile

Build Status codecov npm package npm downloads gzip js size gzip css size

A mobile UI toolkit, based on React

Features

  • Configurable UI style for different products.
  • Develop in TypeScript.

Demo

mobile web demo

Installation & Usage

Installation

npm install modo-mobile --save

yarn add modo-mobile

Import

import { Icon } from 'modo-mobile';
import Icon from 'modo-mobile/lib/icon'; // for JS
import 'modo-mobile/lib/icon/style/css'; // for CSS
// import 'modo-mobile/lib/icon/style';         // that will import less

CDN

<link rel="stylesheet" href="https://unpkg.com/modo-mobile/dist/modo-mobile.min.css">

<!-- window['modo-mobile'] -->
<script src="https://unpkg.com/modo-mobile/dist/modo-mobile.min.js"></script>

Usage

Select the components you need to build your webapp. Find more details in Quick Start.

Development

git clone [email protected]:tdida/modo-mobile.git
cd modo-mobile
npm install
npm run start

Open your browser and visit http://127.0.0.1:8000、http://127.0.0.1:8001. Find more details in Development Guide.

Contributing

Welcome to contribute by creating issues or sending pull requests. See Contributing Guide for guidelines.

License

Mand Mobile is licensed under the Apache License 2.0. See the LICENSE file.