3.0.0 • Published 4 years ago

@stbui/prophet-language-english v3.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
4 years ago

先知(Prophet)

React redux antd Downloads npm Powered_by

Prophet 可以快速帮你构建后台管理的中后台前端应用框架,能帮助你使用很少的代码就实现功能完善的后台管理功能。

特性

  • 高生产效率: 10 分钟内做一个管理后台
  • 提炼 CRUD 容器组件,快速开始前端开发
  • 提供大量一致的 Hook,处理数据变的简单
  • 默认使用 Ant Design 组件布局
  • 提炼后台应用的典型页面和场景
  • 提供 dataProvider 来处理各种数据规范

架构

架构

起步

npm install @stbui/prophet@latest @stbui/prophet-data-json-server@latest
import { Prophet, Resource } from '@stbui/prophet';
import dataJsonServer from '@stbui/prophet-data-json-server';

<Prophet dataProvider={dataJsonServer('http://127.0.0.1:3001')}>
    <Resource
        name="users"
        list={props => <div>list</div>}
        edit={props => <div>edit</div>}
        create={props => <div>create</div>}
        show={props => <div>show</div>}
    />
</Prophet>;

Packages

PackageDocsDescription
@stbui/prophet-core底层组件的封装
@stbui/prophet-antdantd UI 实现
@stbui/prophet-data-json-serverREST 接口规范实现