mirror of
https://github.com/NohamR/knowledge-kit.git
synced 2026-05-24 20:00:37 +00:00
docs: refine
This commit is contained in:
@@ -398,7 +398,7 @@ Electron 架构和 Chromium 架构类似,也是具有1个主进程和多个渲
|
||||
- 
|
||||
- 重新开启服务 `npm start`,在 chrome inspect 面板的 `Target` 节点中选择需要调试的页面
|
||||
- 在面板中可以看到主进程执行的 `main.js`。可以加断点进行调试
|
||||

|
||||

|
||||
|
||||
方法二:利用 VS Code 调试 Electron 主进程。
|
||||
|
||||
@@ -846,6 +846,6 @@ app.listen(33855)
|
||||
|
||||
1. App 包体积大小是一个工程治理的一个永恒话题,伴随着 App 每一次版本发布的生命周期,App 包大小的意义就不再赘述,这里讲讲【App 包体积】这个命题如何与 Electron 结合起来。
|
||||
|
||||
App 包体积的治理方案可以查看 [App瘦身之道](./../ Chapter1\ -\ iOS/1.60.md) 这篇文章。目的是通过 Electron 这个技术打造有赞自己的移动潘多拉魔盒,囊括必要的各种能力,所以【App 包体积】这个命题可以结合 Electron,将包大小检测能力作为魔盒的能力之一。
|
||||
App 包体积的治理方案可以查看 [App瘦身之道](https://raw.githubusercontent.com/FantasticLBP/knowledge-kit/master/ Chapter1\ -\ iOS/1.60.md) 这篇文章。目的是通过 Electron 这个技术打造有赞自己的移动潘多拉魔盒,囊括必要的各种能力,所以【App 包体积】这个命题可以结合 Electron,将包大小检测能力作为魔盒的能力之一。
|
||||
|
||||
2. 桌面端技术选型的时候现在多了一些选择:Electron、[Tauri](https://github.com/tauri-apps/tauri)、ImGui。其中 Tauri 就是 WebView + Rust 的实现。ImGui 是一个 C/C++ 实现的即时渲染框架。
|
||||
Reference in New Issue
Block a user