Richard Sun

Results 8 comments of Richard Sun

Hey guys, I've got the same issue too, all Maps cannot be shown in mobx-devtools, no matter observable or not. ![image](https://user-images.githubusercontent.com/3192045/41152810-6074ecd8-6b47-11e8-966c-24197e8e9a6f.png) I'm pretty sure this map is not empty. I...

> https://github.com/apache/servicecomb-service-center/tree/master/ux > > plz use our new frontend ![image](https://user-images.githubusercontent.com/3192045/126046163-5989a075-dbea-4d02-b393-db95cd003df0.png) Is there anyway to use ux without kie? cause I don't need it, I integrated other conf center long before...

但是这样就不能按需引入了,我看react-bootstrap和ant-design是可以按需引入的,可以参考他们的实现方式,感谢您回复。

我的问题主要是使用了Preact,所以src里的代码和node_modules里的代码需要不同的处理方式,但是即使单独为rctui配置规则,由于preact-compat代替react和react-dom的原理是在webpack中加alias,而rctui由于没有预编译,还需要经过babel,而babel的config我又用在了webpack自身,导致不能很好的分离配置。 总之主要还是特殊环境的问题,通常的React环境、webpack配置文件按es5方式写的话,应该问题不大。

> @RyzenPan 提供一下安装过程的完整日志,可以用下面这个命令重装一下,看看完整日志里是什么报错 > > ```shell > yarn nocobase install -f > ``` 我也遇到同样的问题,使用install -f后解决了,但是进入是英文版,应该是教程里的yarn nocobase install --lang=zh-CN 命令有问题,因为之前的报错是getLang 404

好像作者很久没更新了,我fork了一个到我的空间里改了一下,就一行代码,需要自己build。 https://github.com/sxcooler/px2rem-webpack-plugin 我也发了pr,看看作者会不会采纳吧。