Comments (3)
我的想法,
- script 和 style 用复数,在集成到 preset 或框架里时根据 singular 的配置决定是否用单数的 key
- antd 和 antd-pro 我觉得可以合,包含 antd-mobile
- mf 先不集成,用 umi-plugin-qiankun,这个比较复杂,发展差不多了再集成进来
- i18n 是重写还是用 umi-plugin-locale?
- react、request、router、axios 和 styled 分别是干啥?介绍下?
from plugins.
@sorrycc umi-plugin-locale 和 i18n 其实是两个插件,用法不一样,我们 i18n 这边是基于外网的 must + i18n.get 的方式
from plugins.
i18n、mf、react、request、router、axios 和 styled 可以先放到 smallfish 里面,其他的可以放进来。
from plugins.
Related Issues (20)
- 嵌入微应用后会报错 Failed to execute 'observe' on 'MutationObserver': parameter 1 is not of type 'Node' HOT 1
- getDvaApp(): any
- access.ts如果导出 async function 则返回的权限值对routes配置的菜单access控制无效
- app.ts 导出async function会导致返回的权限值对 routes配置的access控制无效
- 菜单栏能否在多一层固定的侧边栏? HOT 1
- 在umi3.5 ssr模式下,开启locale会报navigator is not defined , at getLocale HOT 1
- 基座应用 umi3,子应用 umi4,二者均使用 @umijs/plugin-qiankun 是否有不兼容的风险? HOT 2
- plugin-locale baseNavigator为true的情况下,如何实现navigator.language为'zh', 'zh-HK', 'zh-TW', 'zh-CN'都用同一份多语言配置?
- ant-design-pro v6 使用 qiankun 在开发环境能正常使用,build 后 主应用 加载 子应用会报 initFocus is not a function 错误 HOT 1
- [qiankun-plugin]:子应用的路由是否需要在主应用中注册
- umi-qiankun peerDependencies react16
- 约定式路由,如何配置 antdpro中的layout属性
- Unable to customize sider in RunTimeLayoutConfig layout
- vue 启用 qiankun插件报错 HOT 1
- 主应用跳转到子应用时,出现空白页
- Uncaught Error: single-spa minified message #13
- 建议plugin-qiankun和qiankun保持同步,怎加自定义fetch请求 HOT 1
- @umijs/plugin-openapi 插件umi4报错api.addMiddewares is not a function
- 主应用路由是 hash 模式的话,子应用使用 history 模式是不是无法接入?
- 由于本项目的依赖有点旧,让项目安装依赖的时候出现少量 deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plugins.