umijs / umi-ui Goto Github PK
View Code? Open in Web Editor NEWUmi UI for umi 3
Umi UI for umi 3
in ./src/.umi/umi.ts
Module build failed (from ./node_modules/@umijs/deps/compiled/babel-loader/index.js):
Error: ENOENT: no such file or directory, open '/Users/admin/work/o2o-admin/src/.umi/umi.ts'
@ multi ./node_modules/umi/node_modules/@umijs/preset-built-in/bundled/@pmmmwh/react-refresh-webpack-plugin/client/ReactRefreshEntry.js ./src/.umi/umi.ts
请使用
yarn create umi
创建,并上传到你的 GitHub 仓库
umi ui 的默认端口为 3000 但在有些情况下可能会和本机的一些其他已存在的服务端口冲突
希望能增加新的可选配置来调整 umi ui 的默认端口
添加一个新的环境变量 UMI_UI_PORT 通过该变量来调整 umi ui 的默认启动端口
none
headScripts: [
{
type: 'text/javascript',
charset: 'utf-8',
src: 'https://gw.alipayobjects.com/os/rmsportal/xsxusXNIcXwiGqtNiyOd.js',
chat_url: 'https://cschat.antcloud.com.cn/index.htm',
// logo_src: 'https://i.alipayobjects.com/e/201401/1tdi7nR70h.png',
// 下面logo_src使用本地资源不能用
logo_src: '@/assets/images/Andon.svg',
logo_position: 'rm',
tntInstId: 'dqe_08ia&scene=SCE01217624',
},
],
公司内部开发了很多模板以及组件,但是用的都是内网源,无法发布到github上,也不方便发到社区使用
能否支持添加私有区块库,甚至对默认的antd pro和umi block的库删除呢
Add any other context or screenshots about the feature request here.
我把示例项目删除了,换成一个新的,这时候需要注意什么
这么好的Umi UI,一大堆BUG
创建模板可以,创建区块就不行!
每次创建就得重启,创建区块就报错!
本来UI,是傻瓜化的创建的,多好啊!
结果一堆BUG,然我们都没有心思在等待下去了!
说好的不是开箱即用吗!!!
只能新建模块,为什么不能删除模块呢!
而且新建的模块,必须要重新start,才可以添加区块!
否则根本就添加不了,添加就报错!!!
请使用
yarn create umi
创建,并上传到你的 GitHub 仓库
error in ./src/.umi/umi.ts
Syntax Error: SyntaxError: E:\gh-code\my-personal-website\client-react\umi-admin\src.umi\umi.ts: Bad character escape sequence (13:76)
11 | (() => {
12 | // Runtime block add component
13 | window.GUmiUIFlag = require('E:\gh-code\my-personal-website\client-react\umi-admin\node_modules@umijs\plugin-ui-blocks\lib\sdk\flagBabelPlugin\GUmiUIFlag.js').default;
| ^
14 |
15 | // Enable/Disable block add edit mode
16 | window.addEventListener('message', (event) => {
@ multi ./node_modules/@umijs/bundler-webpack/lib/webpackHotDevClient/webpackHotDevClient.js ./src/.umi/umi.ts
请使用
yarn create umi
创建,并上传到你的 GitHub 仓库
npm run lint
ts全报红
代码里有些还是antd3的语法,
例如
<Row type='flex'></Row>
外部依赖已经换成 antd: ^4.0.0了,type属性已经删除了..
在内网umi block add url 总是安装依赖下载报错,如何配置成内网仓库
umi ui也不显示资产,如何配置私有资产路径
umi2版本谢了很多本地区块,升级到3之后无法使用
如何添加本地区块
我在 umi ui里 资产=》模板=》用户=》 注册结果页 添加后
然后 运行出错了
位于 UserRegisterResult/index.tsx 中的
import { FormattedMessage, formatMessage, Link } from 'umi';
这句代码出错
里面没有 FormattedMessage 和 formatMessage
按以下流程进行操作:
1、进入目录后,执行命令:$ yarn create @umijs/umi-app
2、$ yarn install
3、修改配置
默认的脚手架内置了 @umijs/preset-react,包含布局、权限、国际化、dva、简易数据流等常用功能。比如想要 ant-design-pro 的布局,编辑 .umirc.ts 配置 layout: {},
import { defineConfig } from 'umi';
export default defineConfig({
4、yarn add @umijs/preset-ui
5、yarn add @umijs/preset-react
6、然后运行yarn start,进行模板添加,添加空白模板。出现错误提示:
⚓ Start git fetch
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout master
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout master
Your branch is up to date with 'origin/master'.
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout master
Your branch is up to date with 'origin/master'.
Already on 'master'
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout master
Your branch is up to date with 'origin/master'.
Already on 'master'
🎉 Success git checkout master
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout master
Your branch is up to date with 'origin/master'.
Already on 'master'
🎉 Success git checkout master
⚓ Start git pull
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout master
Your branch is up to date with 'origin/master'.
Already on 'master'
🎉 Success git checkout master
⚓ Start git pull
Already up to date.
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout master
Your branch is up to date with 'origin/master'.
Already on 'master'
🎉 Success git checkout master
⚓ Start git pull
Already up to date.
🎉 Success git pull
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout master
Your branch is up to date with 'origin/master'.
Already on 'master'
🎉 Success git checkout master
⚓ Start git pull
Already up to date.
🎉 Success git pull
📦 Start generate files
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout master
Your branch is up to date with 'origin/master'.
Already on 'master'
🎉 Success git checkout master
⚓ Start git pull
Already up to date.
🎉 Success git pull
📦 Start generate files
Faild generate files: Trying to copy from a source that does not exist: C:\Users\Administrator.umi\blocks\github.com\ant-design\pro-blocks\EmptyPage\src\index.less
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout master
Your branch is up to date with 'origin/master'.
Already on 'master'
🎉 Success git checkout master
⚓ Start git pull
Already up to date.
🎉 Success git pull
📦 Start generate files
Faild generate files: Trying to copy from a source that does not exist: C:\Users\Administrator.umi\blocks\github.com\ant-design\pro-blocks\EmptyPage\src\index.less
🚧 Execute task error: AssertionError [ERR_ASSERTION]: Trying to copy from a source that does not exist: C:\Users\Administrator.umi\blocks\github.com\ant-design\pro-blocks\EmptyPage\src\index.less
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout master
Your branch is up to date with 'origin/master'.
Already on 'master'
🎉 Success git checkout master
⚓ Start git pull
Already up to date.
🎉 Success git pull
📦 Start generate files
Faild generate files: Trying to copy from a source that does not exist: C:\Users\Administrator.umi\blocks\github.com\ant-design\pro-blocks\EmptyPage\src\index.less
🚧 Execute task error: AssertionError [ERR_ASSERTION]: Trying to copy from a source that does not exist: C:\Users\Administrator.umi\blocks\github.com\ant-design\pro-blocks\EmptyPage\src\index.less
但很明显, C:\Users\Administrator.umi\blocks\github.com\ant-design\pro-blocks\EmptyPage\src\index.less是存在的。
🚧 Execute task error: Error: Command failed: npm install -d @antv/data-set@^0.11.0 bizcharts@^3.5.3-beta.0 bizcharts-plugin-slider@^2.1.1-beta.1 gg-editor@^2.0.2 moment@^2.22.2 numeral@^2.0.6 react-fittext@^1.0.0 --registry=https://registry.npm.taobao.org --save
undefined
undefined
A clear and concise description of what the bug is.
URIError: Failed to decode param '/%3C%=%20BASE_URL%20%%3Estatic/css/xxx.css'
at decodeURIComponent (<anonymous>)
at decode_param (C:\abc\node_modules\@umijs\deps\compiled\express\index.js:1:57292)
at Layer.match (C:\abc\node_modules\@umijs\deps\compiled\express\index.js:1:56868)
at matchLayer (C:\abc\node_modules\@umijs\deps\compiled\express\index.js:1:55230)
at next (C:\abc\node_modules\@umijs\deps\compiled\express\index.js:1:52269)
at compression (C:\abc\node_modules\@umijs\deps\compiled\compression\index.js:1:3942)
at Layer.handle [as handle_request] (C:\abc\node_modules\@umijs\deps\compiled\express\index.js:1:56673)
at trim_prefix (C:\abc\node_modules\@umijs\deps\compiled\express\index.js:1:53129)
at C:\abc\node_modules\@umijs\deps\compiled\express\index.js:1:52730
at Function.process_params (C:\abc\node_modules\@umijs\deps\compiled\express\index.js:1:53268)
at next (C:\abc\node_modules\@umijs\deps\compiled\express\index.js:1:52631)
at expressInit (C:\abc\node_modules\@umijs\deps\compiled\express\index.js:1:37682)
at Layer.handle [as handle_request] (C:\abc\node_modules\@umijs\deps\compiled\express\index.js:1:56673)
at trim_prefix (C:\abc\node_modules\@umijs\deps\compiled\express\index.js:1:53129)
at C:\abc\node_modules\@umijs\deps\compiled\express\index.js:1:52730
at Function.process_params (C:\abc\node_modules\@umijs\deps\compiled\express\index.js:1:53268)
Provide a mini GitHub repository which can reproduce the issue.
Useyarn create umi
then upload to your GitHub
Steps to reproduce the behavior:
添加任何一个区块都报这个错误[email protected] @umijs/[email protected]
umi3
添加模板的时候, 他默认没有选中, 所以有些模块我安装后 会报错 如:#49
建议 ,默认 就选中这个
当用户 切换 这个按钮的时候, 后台 先判断 用户是否 启用了国际化, 如果没有启用,就要求用户先启用
如题
Provide a mini GitHub repository which can reproduce the issue.
Useyarn create umi
then upload to your GitHub
Steps to reproduce the behavior:
Expected behavior
1.正常使用
2.
umi.20ab616f.js:1 eeeeee
{title: "依赖文件没找到。", message: "Cannot find module 'umi-plugin-react' from '/Users/guoweipeng/code/maxfaith/miop/miop_ui'", stack: "Error: Cannot find module 'umi-plugin-react' from …a/home/node_modules/@umijs/ui/lib/UmiUI.js:407:7)", actions: Array(2)}
title: "依赖文件没找到。"
message: "Cannot find module 'umi-plugin-react' from '/Users/guoweipeng/code/maxfaith/miop/miop_ui'"
stack: "Error: Cannot find module 'umi-plugin-react' from '/Users/guoweipeng/code/maxfaith/miop/miop_ui'↵ at Function.resolveSync [as sync] (/Users/guoweipeng/code/weya/home/node_modules/resolve/lib/sync.js:81:15)↵ at /Users/guoweipeng/code/weya/home/node_modules/@umijs/core/lib/Service/utils/pluginUtils.js:109:29↵ at Array.map ()↵ at getPluginsOrPresets (/Users/guoweipeng/code/weya/home/node_modules/@umijs/core/lib/Service/utils/pluginUtils.js:108:99)↵ at resolvePlugins (/Users/guoweipeng/code/weya/home/node_modules/@umijs/core/lib/Service/utils/pluginUtils.js:202:19)↵ at new Service (/Users/guoweipeng/code/weya/home/node_modules/@umijs/core/lib/Service/Service.js:177:59)↵ at new Service (/Users/guoweipeng/code/weya/home/node_modules/umi/lib/ServiceWithBuiltIn.js:50:5)↵ at UmiUI.getService (/Users/guoweipeng/code/weya/home/node_modules/@umijs/ui/lib/UmiUI.js:249:23)↵ at /Users/guoweipeng/code/weya/home/node_modules/@umijs/ui/lib/UmiUI.js:369:40↵ at Generator.next ()↵ at asyncGeneratorStep (/Users/guoweipeng/code/weya/home/node_modules/@umijs/ui/lib/UmiUI.js:212:103)↵ at _next (/Users/guoweipeng/code/weya/home/node_modules/@umijs/ui/lib/UmiUI.js:214:194)↵ at /Users/guoweipeng/code/weya/home/node_modules/@umijs/ui/lib/UmiUI.js:214:364↵ at new Promise ()↵ at /Users/guoweipeng/code/weya/home/node_modules/@umijs/ui/lib/UmiUI.js:214:97↵ at UmiUI.openProject (/Users/guoweipeng/code/weya/home/node_modules/@umijs/ui/lib/UmiUI.js:407:7)"
actions: Array(2)
0: {title: "重新安装依赖", handler: {…}}
1: {title: "返回主页", browserHandler: "BACK_TO_HOME"}
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like, better to provide some pseudo code.
Add any other context or screenshots about the feature request here.
umi ui
run command failed, command ui does not exists.
PS C:\Users\horne> umi help
Usage: umi <command> [options]
Commands:
build build application for production
config umi config cli
dev start a dev server for development
generate generate code snippets quickly
help show command helps
plugin inspect umi plugins
version show umi version
webpack inspect webpack configurations
Run `umi help <command>` for more information of specific commands.
Visit https://umijs.org/ to learn more about Umi.
用的ant design pro中自带的umi,版本3.0.0,@umijs/preset-ui 版本2.0.9,用umi dev启动后,添加查询表格模板报错,日志信息如下
⚓ Start git fetch
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout umi@3
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout umi@3
Your branch is up to date with 'origin/umi@3'.
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout umi@3
Your branch is up to date with 'origin/umi@3'.
Already on 'umi@3'
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout umi@3
Your branch is up to date with 'origin/umi@3'.
Already on 'umi@3'
🎉 Success git checkout umi@3
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout umi@3
Your branch is up to date with 'origin/umi@3'.
Already on 'umi@3'
🎉 Success git checkout umi@3
⚓ Start git pull
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout umi@3
Your branch is up to date with 'origin/umi@3'.
Already on 'umi@3'
🎉 Success git checkout umi@3
⚓ Start git pull
Already up to date.
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout umi@3
Your branch is up to date with 'origin/umi@3'.
Already on 'umi@3'
🎉 Success git checkout umi@3
⚓ Start git pull
Already up to date.
🎉 Success git pull
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout umi@3
Your branch is up to date with 'origin/umi@3'.
Already on 'umi@3'
🎉 Success git checkout umi@3
⚓ Start git pull
Already up to date.
🎉 Success git pull
📦 Start generate files
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout umi@3
Your branch is up to date with 'origin/umi@3'.
Already on 'umi@3'
🎉 Success git checkout umi@3
⚓ Start git pull
Already up to date.
🎉 Success git pull
📦 Start generate files
Faild generate files: Trying to copy from a source that does not exist: C:/Users/Administrator/.umi/blocks/github.com/ant-design/pro-blocks/ListTableList/src/components
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout umi@3
Your branch is up to date with 'origin/umi@3'.
Already on 'umi@3'
🎉 Success git checkout umi@3
⚓ Start git pull
Already up to date.
🎉 Success git pull
📦 Start generate files
Faild generate files: Trying to copy from a source that does not exist: C:/Users/Administrator/.umi/blocks/github.com/ant-design/pro-blocks/ListTableList/src/components
🚧 Execute task error: AssertionError [ERR_ASSERTION]: Trying to copy from a source that does not exist: C:/Users/Administrator/.umi/blocks/github.com/ant-design/pro-blocks/ListTableList/src/components
⚓ Start git fetch
🎉 Success git fetch
⚓ Start git checkout umi@3
Your branch is up to date with 'origin/umi@3'.
Already on 'umi@3'
🎉 Success git checkout umi@3
⚓ Start git pull
Already up to date.
🎉 Success git pull
📦 Start generate files
Faild generate files: Trying to copy from a source that does not exist: C:/Users/Administrator/.umi/blocks/github.com/ant-design/pro-blocks/ListTableList/src/components
🚧 Execute task error: AssertionError [ERR_ASSERTION]: Trying to copy from a source that does not exist: C:/Users/Administrator/.umi/blocks/github.com/ant-design/pro-blocks/ListTableList/src/components
想写UMI UI插件,有没有好的文章或者例子可以参考?光看官网插件的介绍觉得有点无从下手。
如果能提供一个比较简单的例子就更好了!
非常感谢!
npx @umijs/create-umi-app
npm install
npm install @umijs/preset-ui -D
执行完上面命令之后,
运行umi dev,页面上的气泡点击后一直处于加载状态,且报了以下错误 ,
App running at:
贴一下package.json
{
"private": true,
"scripts": {
"start": "umi dev",
"build": "umi build",
"prettier": "prettier --write '**/.{js,jsx,tsx,ts,less,md,json}'",
"test": "umi-test",
"test:coverage": "umi-test --coverage"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
".{js,jsx,less,md,json}": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"dependencies": {
"@umijs/preset-react": "1.x",
"@umijs/test": "^3.0.14",
"lint-staged": "^10.0.7",
"prettier": "^1.19.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"umi": "^3.0.14",
"yorkie": "^2.0.0"
},
"devDependencies": {
"@umijs/preset-ui": "^2.1.0"
}
}
--
Is there any plan to add support for internationalisation? Or at least be able to use the UI in English? Because this tool looks very interesting but I don't speak Chinese at all ;)
Thanks for everything's and your hard work.
添加模板时报错,找不到config/config.js
windows 系统和 wsl2 系统下均是这个错误
请使用
yarn create @umijs/umi-app
创建,并上传到你的 GitHub 仓库
https://github.com/MakeHui/umi-ui-issue
Execute task error Error: Error: ENOENT: no such file or directory, open 'config/config.js'
at E:\Projects\Wogoo\tquestion_admin\node_modules\@umijs\plugin-ui-blocks\lib\ui\server\core\tasks\gitTasks\write_routes.js:88:15
at Generator.next (<anonymous>)
at asyncGeneratorStep (E:\Projects\Wogoo\tquestion_admin\node_modules\@umijs\plugin-ui-blocks\lib\ui\server\core\tasks\gitTasks\write_routes.js:46:103)
at _next (E:\Projects\Wogoo\tquestion_admin\node_modules\@umijs\plugin-ui-blocks\lib\ui\server\core\tasks\gitTasks\write_routes.js:48:194)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[Asset Error] Error: Error: ENOENT: no such file or directory, open 'config/config.js'
at E:\Projects\Wogoo\tquestion_admin\node_modules\@umijs\plugin-ui-blocks\lib\ui\server\core\tasks\gitTasks\write_routes.js:88:15
at Generator.next (<anonymous>)
at asyncGeneratorStep (E:\Projects\Wogoo\tquestion_admin\node_modules\@umijs\plugin-ui-blocks\lib\ui\server\core\tasks\gitTasks\write_routes.js:46:103)
at _next (E:\Projects\Wogoo\tquestion_admin\node_modules\@umijs\plugin-ui-blocks\lib\ui\server\core\tasks\gitTasks\write_routes.js:48:194)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
A clear and concise description of what the bug is.
Provide a mini GitHub repository which can reproduce the issue.
Useyarn create umi
then upload to your GitHub
Steps to reproduce the behavior:
1.
2.
Expected behavior
1.
2.
{ SyntaxError: This experimental syntax requires enabling the parser plugin: 'optionalChaining' (70:17)
at Object.raise (/Users/kelly/work/demo/umi3/pro_v4/node_modules/@umijs/block-sdk/node_modules/@babel/parser/lib/index.js:6344:17)
at Object.expectPlugin (/Users/kelly/work/demo/umi3/pro_v4/node_modules/@umijs/block-sdk/node_modules/@babel/parser/lib/index.js:7664:18)
at Object.parseSubscript (/Users/kelly/work/demo/umi3/pro_v4/node_modules/@umijs/block-sdk/node_modules/@babel/parser/lib/index.js:8448:12)
at Object.parseSubscript (/Users/kelly/work/demo/umi3/pro_v4/node_modules/@umijs/block-sdk/node_modules/@babel/parser/lib/index.js:5288:18)
at Object.parseSubscripts (/Users/kelly/work/demo/umi3/pro_v4/node_modules/@umijs/block-sdk/node_modules/@babel/parser/lib/index.js:8434:19)
at Object.parseExprSubscripts (/Users/kelly/work/demo/umi3/pro_v4/node_modules/@umijs/block-sdk/node_modules/@babel/parser/lib/index.js:8423:17)
at Object.parseMaybeUnary (/Users/kelly/work/demo/umi3/pro_v4/node_modules/@umijs/block-sdk/node_modules/@babel/parser/lib/index.js:8393:21)
at Object.parseMaybeUnary (/Users/kelly/work/demo/umi3/pro_v4/node_modules/@umijs/block-sdk/node_modules/@babel/parser/lib/index.js:5668:20)
at Object.parseExprOps (/Users/kelly/work/demo/umi3/pro_v4/node_modules/@umijs/block-sdk/node_modules/@babel/parser/lib/index.js:8280:23)
at Object.parseMaybeConditional (/Users/kelly/work/demo/umi3/pro_v4/node_modules/@umijs/block-sdk/node_modules/@babel/parser/lib/index.js:8253:23)
at Object.parseMaybeAssign (/Users/kelly/work/demo/umi3/pro_v4/node_modules/@umijs/block-sdk/node_modules/@babel/parser/lib/index.js:8200:21)
at Object.parseMaybeAssign (/Users/kelly/work/demo/umi3/pro_v4/node_modules/@umijs/block-sdk/node_modules/@babel/parser/lib/index.js:5628:20)
at Object.parseExpression (/Users/kelly/work/demo/umi3/pro_v4/node_modules/@umijs/block-sdk/node_modules/@babel/parser/lib/index.js:8148:23)
at Object.parseStatementContent (/Users/kelly/work/demo/umi3/pro_v4/node_modules/@umijs/block-sdk/node_modules/@babel/parser/lib/index.js:9917:23)
at Object.parseStatementContent (/Users/kelly/work/demo/umi3/pro_v4/node_modules/@umijs/block-sdk/node_modules/@babel/parser/lib/index.js:5392:18)
at Object.parseStatement (/Users/kelly/work/demo/umi3/pro_v4/node_modules/@umijs/block-sdk/node_modules/@babel/parser/lib/index.js:9788:17)
pos: 1515,
loc: Position { line: 70, column: 17 },
missingPlugin: [ 'optionalChaining' ] }
pro v5添加preset-ui后,如何取消显示?在config文件没有找到取消显示的配置
我本地的 umi是3.0.11 用umi-ui界面安装卡在检测版本那他给我检测出本地版本是2.13.0
现在通过UI界面添加的区块都是ts文件,如何通过界面加js的区块文件?
能否想vue ui一样,全局安装,然后在任意目录 umi ui
A clear and concise description of what the bug is.
Provide a mini GitHub repository which can reproduce the issue.
Useyarn create umi
then upload to your GitHub
Steps to reproduce the behavior:
1.
2.
Expected behavior
1.
2.
个人感觉 Umi UI 是一个可视化的脚手架工具,它可以方便我们创建和管理 Umi 项目。但是我在使用过程中感觉非常混乱,我想用 Umi UI 创建一个 Umi 项目,我首先得拥有一个 Umi 项目然后依赖它,听起来感觉有点不可思议。若 Umi UI 被当做一个插件使用在 Umi 项目中,那么使用 umi dev 启动项目后,打开ui界面理应直接关联这个项目,并且使用Umi ui创建项目的功能已经失去意义。
个人感觉 umi ui 不应该被当成一个插件使用,而应该是个独立的脚手架命令,是个独立的工作台。执行命令直接打开浏览器。不应该依赖于项目运行
umi-ui 查看构建分析报错
Provide a mini GitHub repository which can reproduce the issue.
Useyarn create umi
then upload to your GitHub
Steps to reproduce the behavior:
Expected behavior
1.能够正常查看分析
2.
有计划何时支持约定式路由吗?感觉约定式路由就是“二等公民”。从 @sorrycc 的演讲视频中,开头介绍的就是约定式路由,真的很方便,不用手动去声明路由表了,可UmiUI不支持,真的很伤呀
大佬,想问一下关于umi ui当做私有仓库的问题!
本地创建umi ui项目
复现:1.git clone https://github.com/oc-Design/umi-ui.git
2.yarn install
yarn build -w
yarn build:ui -w
3.cd example/app yarn start 进入locallhost: 3000端口,修改本地umi ui样式3000端口的umiui样式发生变化
4.在3000端口的项目新建D:\amyapp\umiui\820\umi-ui-master\examples\antd--进入atnd的3000端口为什么我在本地修改了umi ui的样式在新的antd项目没有关联到
5.能否在umi ui外层创建公共依赖库,在umi ui3000端口创建项目时不重新安装依赖,从umi ui外层导入依赖到新建项目
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.