@admin-layout/ant-design-pro 中文文档教程

发布于 3年前 浏览 1 更新于 3年前

components-pro

依赖于@adminide-stack来增强@admin-layout/ant-ui

的组件 它有类似于ant-design/ant-design-的布局组件- pro/tree/master/src/layouts.

  1. We can track the new changes from ant-desig/ant-design-pro by create a PR agains the cloned repository reboxjs/ant-design-pro like below.

https://github.com/reboxjs/ant-design-pro/pull/1

我们创建 PR,名称为创建日期(上次快照克隆的日期),这样我们就可以查看布局组件是否发生了变化我们在此包中手动同步这些更改。

  1. 我们在 ant-design-pro 中使用 less 并且需要将它们转换为 fela 样式。

  2. 我们不会将一些与 Ant 相关的包用于 routeshistory 或任何以它们的 imports {...} from '@/... .' 我们本地使用。

components-pro

Componets that depend on @adminide-stack to enhance the @admin-layout/ant-ui

It has layout components similar to ant-design/ant-design-pro/tree/master/src/layouts.

  1. We can track the new changes from ant-desig/ant-design-pro by create a PR agains the cloned repository reboxjs/ant-design-pro like below.

https://github.com/reboxjs/ant-design-pro/pull/1

We create the PR with name as the date (of last snap clone) when it was created so we can see if any layout components changes has happen then we sync those change mannually in this package.

  1. We use less as in ant-design-pro and they need to be converted to fela styles.

  2. We don't use some of the ant related packages for routes, history or anything starts in their imports {...} from '@/....' we use natively.

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文