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

0.0.1 Todos #1

Closed
6 of 10 tasks
sorrycc opened this issue Oct 30, 2024 · 4 comments
Closed
6 of 10 tasks

0.0.1 Todos #1

sorrycc opened this issue Oct 30, 2024 · 4 comments

Comments

@sorrycc
Copy link
Member

sorrycc commented Oct 30, 2024

wip & pr welcome.

  • 工程化:添加 github ci,每个 pr 里跑 npm run ci,1h
  • 工程化:添加 e2e 测试方法,并纳入 ci,基于 playwright 做 browser 测试,2h
  • 工程化:使用 changesets 做发布和 changelog 生成,1h @xiaohuoni
  • 添加 hackernews example,参考 https://github.com/dvajs/dva-hackernews ,3h @Wu-kung
  • 添加 ant-design-pro example,8h @xiaohuoni
  • 添加 todos example,1h
  • 添加 dev command,1)build + watch:true,2)需要支持 fallback 路由,让访问非跟路由时也正常而不是 404,2h
  • 实现类 umi 的配置式路由,添加 src/router.ts,实现一个函数,输入是路由配置,输出是 generate 后的编程式路由代码,调用或参考 @tanstack/router-generator,4h-8h
  • 支持 ssr,1)生成 server entry,2)新增一次构建,以 ssr entry 为入口,2h
  • 补充 e2e 测试用例,1h
@moonlitusun
Copy link

dev command 这个 如果用mako起dev的话支持fallback配置吗 看了下mako文档 devServer的配置很少 也没有可以拦截的地方

@xiaohuoni
Copy link
Member

@moonlitusun https://github.com/umijs/mako/blob/master/packages/bundler-mako/index.js#L84

@xiaohuoni
Copy link
Member

xiaohuoni commented Nov 6, 2024

ant-design-pro

要完成全套功能有一些必要功能,感兴趣的朋友可以看看,功能上应该是对标 umi max 的,但是所有的功能实现都尽可能的白盒,

@sorrycc sorrycc mentioned this issue Nov 7, 2024
33 tasks
@sorrycc
Copy link
Member Author

sorrycc commented Nov 7, 2024

Follow up at #2 .

@sorrycc sorrycc closed this as completed Nov 7, 2024
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

3 participants