umi
umi copied to clipboard
A framework in react community ✨
## What happens? 使用官方脚手架初始化项目 ``` $ pnpm dlx create-umi@latest ✔ Install the following package: create-umi? (Y/n) · true ✔ Pick Npm Client › pnpm ✔ Pick Npm Registry › taobao...
## Background 场景:  目前 /login 和 /regis,没有找到可以配置到 prolayout 之外的方法 ## Proposal 可以将 layout 组件暴露在 /layouts/index.tsx 中,例如 ```typescript const Layout = ({ Wrapper }) => { if (location.pathname === '/login')...
增加 sass 使用提示 close #9462 ----- [View rendered docs/docs/guides/styling.md](https://github.com/umijs/umi/blob/docs/renhong_0929/docs/docs/guides/styling.md)
## What happens? ant-design-pro的脚手架,umi 4.0.22 + pro-components 2.3.12,layouts下配置了index.tsx后菜单消失 ## Mini Showcase Repository(REQUIRED) > Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) then upload to your GitHub. 请提供 [最小重现](https://stackoverflow.com/help/minimal-reproducible-example),并上传到你的 GitHub 仓库 https://github.com/Ruboyq/bugrepo ## How...
## What happens? 使用scss时启动报错  ## Mini Showcase Repository(REQUIRED) https://github.com/dingff/umi4-demo ## How To Reproduce **Steps to reproduce the behavior:** 1. npm start **Expected behavior** 1. 希望不报错 ## Context - **Umi...
## What happens? 开启vite和mpa,多页入口找不到  ## Mini Showcase Repository(REQUIRED) https://github.com/dingff/umi4-demo ## How To Reproduce **Steps to reproduce the behavior:** 1. 2. **Expected behavior** 1. 2. ## Context - **Umi Version**:...
## What happens?  ## Mini Showcase Repository(REQUIRED) https://github.com/MatrixAge/test-deepkit-compiler-with-umi 该仓库是为了防止关闭,不是复现,复现内容在下方。 ## How To Reproduce  ## Context   .umirc.ts在render目录下。 看起来像是 api.cwd未处理APP_ROOT设定为别的目录的情况。 - **Umi Version**: 4.0.22 - **Node Version**: 18...
## Background I want to add some prefixes for what all logs of umijs, has any way to customize the logger? ## Proposal ## Additional context
## What happens? ### config.ts 配置文件 ``` ssr: {} ``` ### 不兼容 svg ``` sandbox@sse-sandbox-uh6ny5:/sandbox$ yarn start yarn run v1.22.19 warning package.json: No license field $ umi dev warn -...
使用 yarn create umi 创建应用后,在配置文件中开启dva,在models下创建一个mode文件。在umi3中可以从umi中导入的类型 都无法从@umij/max或者umi中导出。并且没有将 model 导出的类型挂载到 umi或者@umijs/max上,    Mini Showcase Repository(REQUIRED) [仓库地址](https://github.com/deng-pu/umi-demo/blob/main/src/models/user.ts) How To Reproduce yarn add yarn start 打开浏览器访问 http://localhost:8000/ Context @umijs/max Version: 4.0.21 Node...