https://github.com/ant-design/test/issues/60
参考 vue-cli
、angular-cli
,确定了 pro-cli
的定位。基于 Ant Design Pro 脚手架
的辅助配套工具。README
pro init
:初始化 Ant Design Pro 脚手架pro new
:添加 页面、组件、model 模板- 因为已经是 antd-pro 的脚手架基础,所以这里的页面和组件以及 model 都不是 antd pro 里面的,而是简介的代码模板,详见:https://github.com/ant-design/test2-cli/tree/master/boilerplate ,后续会加上无依赖简化版的页面、组件模板,如:卡片布局(antd pro 里面 dashboard 的页面抽象)、表单页(antd pro 里面 表单页的抽象)等
todo
- init
- model template
- page template
- blank
- BasicForm
- BasicList
- CardList
- component
- smart component(standard)
- dumb component(stateless)
- service template
Issue Analytics
- State:
- Created 6 years ago
- Comments:24 (23 by maintainers)
Top Results From Across the Web
Microsoft To Do
Microsoft To Do. To Do gives you focus, from work to play. Get started · Learn more. Download To Do. Terms of use...
Read more >Todo - Task List Organizer on the App Store - Apple
Daily plan, track and finish your to-do task lists whether they be simple grocery shopping lists, daily habits tied to goals, single work...
Read more >Todoist | A To-Do List to Organize Your Work & Life
Trusted by 30 million people and teams. Todoist is the world's favorite task manager and to-do list app. Finally become focused, organized and...
Read more >Microsoft To Do: Lists & Tasks - Apps on Google Play
Microsoft To Do is a task management app to help you stay organized and manage your day-to-day. You can use Microsoft To Do...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
可以,我感觉现在有空页面都会方便很多,包括 services、model、smart component、dumb component 的联动创建。先有个东西体验体验。
抽离确实可以解决问题,相当于提成了独立的组件/模板,单独维护。
我担心的是,两边如何保持同步,pro 架构改了怎么办,一些模板升级/修改/优化了怎么办,有没有办法进行同步。