-
## What happens?
umi ui
run command failed, command ui does not exists.
```
PS C:\Users\horne> umi help
Usage: umi [options]
Commands:
build build application for production
…
-
## Background
所有type都在一个文件typing.d.ts,请求实体通常比较多,不好维护
## Proposal
能否分目录生成实体表单
## Additional context
现在就像这样,所有请求实体都在一个文件里面
`typescript`
declare namespace API {
type deleteUsingDELETE…
-
hash路由配置如何修改
-
[Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node']
原因是微应用通过MutationObserver监测window.document, 此时的document在微前端模式下被代理了不再是一个node节点。
我看qiankun更新到2.10.1可以解决,插件对应的乾…
-
- 问题描述: 如果使用 `import { xxx } from '../components'` 引用, 貌似会将 components 下所有组件打包进当前路由内,而使用 `import xxx from '../components/xxx` 则不会打包其他组件。
- 目录结构: 所有组件在components下,里面包含文件及文件夹,同时有一个index.js文件用于暴露所有组件的引…
-
### Question
打开页面就会报错
Unhandled Rejection (TypeError): Cannot read properties of undefined (reading '_updatedFibers')
.dumi/tmp/umi.ts:69
66 | type: ApplyPluginsType.modify,
67 | …
-
1. 使用 `wasm-pack new demo` 创建一个demo
2. 使用`wasm-pack build`打包
3. 在 js 项目中引用打包出来的 package : `const wasm = import('demo'); ` 引入后就报下面这个错, 但是这个 wasm 在 webpack 和 vite 中都是可以使用的.
-
![image](https://user-images.githubusercontent.com/43166363/171337312-7f917d8a-59a9-44e2-9feb-ef6ff3d07962.png)
gcmm updated
10 months ago
-
* ../plugin-layout/layoutExports in ./src/.umi/core/umiExports.ts
提示找不到umi/core下面的umiExports
项目umi版本是3.2.28
-
按照这个文档里的 demo 写的,结果报错了
```tsx
// /path/to/plugin.ts
import { IApi } from 'dumi';
export default async (api: IApi) => {
const rootRoute = await api.applyPlugins({
key: 'dumi.getRootRout…