# lbr-react-mobile
**Repository Path**: liangbairong/lbr-react-mobile
## Basic Information
- **Project Name**: lbr-react-mobile
- **Description**: 移动端react ui库
- **Primary Language**: Unknown
- **License**: MulanPSL-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2022-08-19
- **Last Updated**: 2022-08-22
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# lbr-react-mobile
本组件库依赖 react 17 以上,[中文文档 DEMO](https://liangbairong.gitee.io/lbr-react-mobile/)
## 组件库使用方法
```bash
$ npm i lbr-react-mobile -S
```
### 按需加载
```tsx | pure
import Skeleton from 'lbr-react-mobile/es/Components/Skeleton';
import 'lbr-react-mobile/es/Components/Skeleton/index.css';
;
```
### 全部引入
```tsx | pure
import { Skeleton } from 'lbr-react-mobile';
import 'lbr-react-mobile/es/index-all.min.css';
;
```
[更多组件请点击访问](https://liangbairong.gitee.io/lbr-react-mobile/)
## 项目说明
安装依赖
```bash
$ npm i
```
#### 启动文档
```bash
$ npm start
```
#### 打包文档
```bash
$ npm run docs:build
```
#### 打包组件库
```bash
$ npm run build
```
打包使用 babel 模式:
babel 模式下一些文件不会被编译到 es 和 lib 下,包含:
**test** 目录
fixtures 目录
demos 目录
mdx 文件
md 文件
测试文件,比如 test.js、spec.js、e2e.js,后缀还支持 jsx、ts 和 tsx