umi-next icon indicating copy to clipboard operation
umi-next copied to clipboard

The next version of umi. (under development)

Results 62 umi-next issues
Sort by recently updated
recently updated
newest added

给 examples/boilerplate 增加e2e ## 改动点 - `test-utils` 新增 `run` 用于执行代码构建 - `test-utils` 新增 `createServer` 用于服务启动 - examples 新增 `tsconfig.json` 注入e2e ts 声明相关 - examples/boilerplate 新增`__tests__/boilerplate.e2e.ts` 完成一部分case 的编写 详见用例

`import React from 'react'` should not be mandatory.

如果未开启,有如下报错 可以在适当时机,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...

react router v6移除了动态可选路由的直接配置,可以通过如下配置来实现: ![image](https://user-images.githubusercontent.com/25472851/158729404-7acb89ee-3f58-4a57-b7da-ea7345a8c0f8.png) 而新版本的umi对于文件路由仅进行了这样的处理:$ => : ,这样会无法兼容之前的文件结构。 还有现在的文件路由和Nextjs一样的,pages目录下的ts/js 文件全部会变成页面路由,额,对于umi的用户,旧版的文件路由规则可能更加人性化。

Umi3 Ant Pro 的项目尝试在 Umi4 下跑了一下,遇到了几个问题: - request 没有导出 RequestConfig 类型,里面的 errorHandler 和以前好像也不一致 - layout 缺失 RuntimeLayoutConfig - modal 中的 initialState 没有类型提示 - locale 没有导出 getIntl 和 getLocale - history...

## 需求 - [ ] api.hasPlugins - [ ] api.service._extraPlugins - [ ] api.modifyExportRouteMap - [ ] api.modifyBabelOpts -- use addExtraBabelPresets or addExtraBabelPlugins - [ ] api.onPluginReady -- 和 onStart...

支持将 API 路由部署到 [Netlify](https://www.netlify.com) 平台上。 参考:https://docs.netlify.com/functions/overview/

支持指定插入位置

目前的卡点是:esm 的 loader 不能通过编程的方式注入,只能 `node --loader xxxLoader`,不能实现 packages/utils/src/register.ts 的功能。

场景: 需要根据参数来动态改变产生的文件名称时候,目前没有合适方法。 方案:最小化代码调整,先 copy 后再进行同步 rename ;