2.* 文档 | [1.* 文档](https://github.com/FaureWu/zoro/blob/master/README-V1.md)

# zoro

[![](https://img.shields.io/npm/v/@opcjs/zoro.svg?style=flat-square)](https://npmjs.org/package/@opcjs/zoro)
[![](https://img.shields.io/npm/dt/@opcjs/zoro.svg?style=flat-square)](https://npmjs.org/package/@opcjs/zoro)
[![](https://img.shields.io/npm/l/@opcjs/zoro.svg?style=flat-square)](https://npmjs.org/package/@opcjs/zoro)

基于 [redux](https://github.com/reactjs/redux)、[async/await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function)的轻量级前端框架，用于快速接入redux，省去配置redux的一堆繁琐操作

> 目前不支持创建多个实例

---

🎉🎉🎉至`3.0.0`版本后，已全面基于typescript重写，现已支持typescript

🎉🎉🎉至`2.3.6`版本后，支持通过[umi-plugin-zoro](https://github.com/FaureWu/umi-plugin-zoro)一键接入[umi](https://github.com/umijs/umi)框架中了，详细接入方式查看[umi接入文档](https://faurewu.github.io/zoro/GUIDE/UMI.html)

## 文档
* [API文档](https://faurewu.github.io/zoro/)

## 特性

* 轻量化，api少，可快速接入
* 可扩展，完整的插件机制，支持自定义插件编写
* 框架提供多个内置常用插件，如全局loading插件，mixins扩展插件
* 全局错误捕获，统一处理
* 拦截器机制实现

## 教程

* [打造前端大秘宝系列之REDUX状态处理框架ZORO-基本简介](https://www.jianshu.com/p/19f852252500)
* [打造前端大秘宝系列之REDUX状态处理框架ZORO-插件介绍](https://www.jianshu.com/p/d262c2920537)
* [微信小程序及h5,基于taro，zoro最佳实践探索](https://www.jianshu.com/p/7c27dbbc080f)

## 应用案例

<img src="https://img.baobeicang.com/user_upload/rc-upload-1539741270100-2.jpeg" width="150" />

## 更新日志

[版本更新记录](https://github.com/FaureWu/zoro/releases)

## 开发交流

请添加微信 `Faure5` 备注 `zoro` 咨询，开源不易，如果好用，欢迎star

<img src="https://img.baobeicang.com/user_upload/rc-upload-1539676937885-2.jpeg" width="150" />

## License

[MIT](https://tldrlegal.com/license/mit-license)
