docs: 组件化小结图片补齐

This commit is contained in:
liubinpeng
2021-03-03 01:04:23 +08:00
parent 31537f0a09
commit 3be18b1a84
17 changed files with 25 additions and 18 deletions

View File

@@ -536,6 +536,17 @@ Electron 官方给出了解决方案 Squirrel基于 Squirrel 框架完成的
12. Electron 和 Web 开发相比,各自有侧重点
![ElectronAndWeb](https://raw.githubusercontent.com/FantasticLBP/knowledge-kit/master/assets/2020-05-04-ElectronAndWeb.png)
13. 有些人开发 Electron 应用可能不喜欢 [electron-vue](https://github.com/SimulatedGREG/electron-vue) 这样的工具,喜欢自己自定义。假如自己利用 Vue 或者 React 开发的,开发过网页的同学都会习惯使用 Vue-devtools、React-devtools。所以在选用 Vue 或 React 后,习惯使用强大的 Vue-devtools、React-devtools 来查看 State、Action、Redux、Vuex、组件层级树等。
- 先去 Github 找到对应的 repo比如 [Vue-devtools](https://github.com/vuejs/vue-devtools)
- 克隆代码到本地
- 先安装依赖,再构建出 dist 产物 `cd vue-devtools; yarn install; yarn run build;`
-
### 2. 优化手段