-
按照这个文档里的 demo 写的,结果报错了
```tsx
// /path/to/plugin.ts
import { IApi } from 'dumi';
export default async (api: IApi) => {
const rootRoute = await api.applyPlugins({
key: 'dumi.getRootRout…
-
https://github.com/umijs/umi-next/blob/master/packages/plugins/src/layout.ts#L202-L218
- `BasicLayoutProps ` 未导入
- `useModel` 文件不存在
- `InitDataType`类型错误应为Model
-
## What happens?
umi4.0 从第三方包引入了一个不存在的方法,仍然可以编译成功,只在运行时报错
## Mini Showcase Repository(REQUIRED)
按照下述步骤即可复现该问题,期望是在编译时也能暴露出该问题,而不是仅在运行时报错。
## How To Reproduce
1. 创建项目,使用文档中的步骤即可。 `pnpm d…
-
### What problem does this feature solve?
目前[这部分代码](https://github.com/umijs/dumi/blob/85f5e116c4d878fbfb65155b3a6622ae9248f7ae/src/loaders/markdown/transformer/rehypeDemo.ts#L422-L446)处理 description…
-
Chrome新提出的SameSite cookie attribute issue,需要处理么
-
- [dumi](https://github.com/umijs/dumi)
- [vue-sfc-rollup](https://github.com/team-innovation/vue-sfc-rollup)
-
类似于 process.env.xxx 这个可以如何配置进去? (cross-env 这种方式)
-
less文件在保存的时候每次都加上了分号
这种情况仅出现于less代码块在文件的最末尾处,如下图
配置都是直接用的 @umijs/fabric 的默认配置
-
## What happens?
(cross-posting from https://github.com/babel/babel/issues/14568#issuecomment-1133589525)
At line 445 of https://unpkg.com/browse/dva-core@2.0.4/dist/index.js, `dva-core` uses th…
-
**使用keepAlive 包裹组件后,在组件内部获取全局初始状态报错 const { initialState } = useModel('@@initialState');**
![image](https://user-images.githubusercontent.com/34650704/187817580-1265b401-a7d6-4d0a-9f11-ded5fba22af4…