pshu

Results 28 issues of pshu

in your example, all calls in b-threads are sync functions. but in a real case, I will use some async functions (eg. HTTP request) how can I do that?

## why not working with windows when install == false action export the CYPRESS_CACHE_FOLDER env variable, so cli can not find the binary to execute; but binary is already installed...

repo主 走错了方向~ :)

close https://github.com/umijs/umi/issues/8906 * 合并 esbuild-jest 和 jest-esbuild * 更新 jest generator 添加收集 覆盖率配置 * 增加 e2e:test-test coverage 限制

##### Checklist - [x] `npm test` passes - [x] commit message follows commit guidelines ##### Description of change - close https://github.com/umijs/umi/issues/8084 When project cwd path contains escaped characters, `umi dev...

原因生成的 wrapper 路由组件,没有 name 字段,layout 中就不显示了;如果直接拷贝 name 字段到各个 wrapper 路由上,就会出现多级菜单 : ( 改动点 * 将需要包装的路由组件在 `.umi/core/warpped` 包装成一个新的组件 * 路由组件如果含有 wrappers 配置,使用上述包装过的组件 * 路由转化不再根据 wrappers 生成额外的 route 配置

hold

支持安装 expres middleware 时,指定 method 和 path 简化 middleware 函数的定义 好处: * 能更好地利用 express middleware 生态 * 通过 path 的限定可以不用 next 到其他无关的 middleware 上去 目前 aftermiddleware 没有修改,因为 bundler-webpack 里面有段神奇的代码,暂时不能用统一的方式来安装,之后再想想怎么解决 使用...

```text $tree src/api/ src/api/ ├── [id].ts ├── apple │   ├── [id].ts │   └── tree.ts └── banana.ts ``` ```bash $curl http://127.0.0.1:8000/api/id {"id":"id"} $curl http://127.0.0.1:8000/api/banana {"banana":"is working"} $curl http://127.0.0.1:8000/api/apple/ididid {"appleId":"ididid"} $curl http://127.0.0.1:8000/api/apple/tree...

如果未开启,有如下报错 可以在适当时机,setUmirc 直接帮用户开启 or 提示用户手动开启 @PeachScript ```text error - ./.umi/plugin-access/runtime.tsx:10:0-37 Module not found: Error: Can't resolve '@/access' in '/Users/pshu/git/umi-playground/.umi/plugin-access' error - ./.umi/plugin-access/runtime.tsx:11:0-43 Module not found: Error: Can't resolve '@@/plugin-model' in...