Replies: 2 comments 1 reply
-
umi 只是一个 SPA ,你可以把它注入到 electron 里使用,但关于 electron 的配置需要你自己改,umi 只是 web 展示层面的东西。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
是的,有看了一下生成browserwindow 那部分是umi自动生成的js,我看会读取一个Config的变量合并默认参数传递给electron,但是我没找到对应的文档讲解如何配置这个Config,再.umirc里尝试了一下没有成功,所以想问问如何正确的配置这个Config来改变初始窗口的参数,比如我就想把frame改成false去掉标题 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
如何在.umirc 里修改 frame 参数?
Beta Was this translation helpful? Give feedback.
All reactions