Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roadmap 2 #10

Closed
3 of 4 tasks
xiaohuoni opened this issue Nov 1, 2018 · 15 comments
Closed
3 of 4 tasks

Roadmap 2 #10

xiaohuoni opened this issue Nov 1, 2018 · 15 comments

Comments

@xiaohuoni
Copy link
Member

xiaohuoni commented Nov 1, 2018

2

Big Features

@xiaohuoni
Copy link
Member Author

wz:理想状态 可以使用脚手架构建不同类型的项目 比如是否需要权限路由 然后组件 可以从物料市场拿来直接使用 这样就很舒服了

@xiaohuoni
Copy link
Member Author

ant-design/ant-design-pro#2739
路由配置可以根据不同的权限redirect到不同地址吗?

@xiaohuoni
Copy link
Member Author

拆分之后要怎样跟上官方的更新?

@xiaohuoni
Copy link
Member Author

@xiaohuoni
Copy link
Member Author

Ant Design Pro 如何动态修改路由配置文件config/router.config.js
ant-design/ant-design-pro#2839

@xiaohuoni
Copy link
Member Author

兼容ie10

@xiaohuoni
Copy link
Member Author

拆分之后要怎样跟上官方的更新?

使用pro的项目构建,通过npm安装ant-design-pro的形式使用?

@xiaohuoni
Copy link
Member Author

主题配置,类似 pro 的设置页面 ,使用umi-plugin的技术实现,添加插件。

存在bug,less失效问题,考虑能不能直接通过umi的设置来实现这个功能,参考umi-ui?

@xiaohuoni
Copy link
Member Author

兼容ie10

ie10还支持flex,应该不会有太多问题,后续用windows跑一下看看,在做评估

@xiaohuoni
Copy link
Member Author

@ctq123 现在我选这一套antd design pro 也是非常痛苦,看demo感觉好强大高大上,但其实开发流程反而复杂了,前端代码比后端还重,正如楼主所说,其实我们要的就是既快简单,又能直接上手的脚手架,有些东西封装得太好,要修改起来反而很痛苦
我觉得这一套封装得太好了,正是太好了反而不好,耦合度不要太高了。我们是不是应该从用户的角度考虑,将初始的小盒子交给用户,各种功能拆分开来,将选择权真正交给用户,让用户选择。

@id77
Copy link

id77 commented Dec 11, 2018

你文件夹Form,路由里面component 却用Forms

@id77
Copy link

id77 commented Dec 11, 2018

不知道如何加路由参?

@xiaohuoni
Copy link
Member Author

这只是一个测试的demo,只做为一些新用法的测试,你可以直接看pro项目,会好一点

@id77
Copy link

id77 commented Dec 11, 2018

这只是一个测试的demo,只做为一些新用法的测试,你可以直接看pro项目,会好一点

我现在有个需求,要接受后端返回的路由,进行展示。尝试使用你这个方法,但是路径有错误,不得其解。
新增的page的路径总是被转为小写。原有的page却能正常访问。

@xiaohuoni
Copy link
Member Author

这需要看你使用配置式路由,还是约定式路由了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants