[TOC]
* * * * *
# 1 包目錄(packages\\)
~~~
inferno-master\packages\ ;框架包目錄
inferno\ ;inferno模塊目錄
inferno-component\ ;component模塊目錄
inferno-create-element\ ;createelement模塊目錄
inferno-dom\ ;dom模塊目錄
inferno-router\ ;router模塊目錄
inferno-server\ ;server模塊目錄
inferno-test-utils\ ;testutils模塊目錄
~~~
# 2 包目錄文件
> 主要包含框架的分模塊打包組織
> inferno的主要特色就是可以分模塊導入使用
> 包目錄的實現對應源代碼目錄
# 3 包目錄模塊組織
~~~
;以compoenet模塊為例
package\inferno-component\
src\ ;本模塊對應的源代碼實現目錄
inferno-component.js ;本模塊對應的打包文件
package.json ;打包配置文件
README.md ;模塊使用說明
;inferno打包總目錄
package\inferno\
dist\ ;打包生成目錄
src\ ;inferno模塊對應實現
inferno.js ;inferno模塊入口
package.json ;模塊打包配置
README.md ;使用說明
~~~
- 框架概述
- 框架目錄
- 總目錄(inferno-master)
- 配置目錄(config)
- 示例目錄(examples)
- 包目錄(packages)
- 源代碼目錄(src)
- 工具目錄(tools)
- 其他文件
- 框架結構
- (0)依賴關系
- (1)Inferno模塊
- (2)InfernoDOM模塊
- (3)InfernoServer模塊
- (4)InfernoComponent模塊
- (5)InfernoTestUtils模塊
- (6)InfernoCreateElement模塊
- (7)InfernoRouter模塊
- 框架實現
- (1)Router
- (2)Redux
- (3)Component
- (4)CreateElement
- (5)Core(Vnode)
- (6)Dom(Render)
- (7)Server
- (8)TestUtils
- (9)Utils
- 框架流程
- 框架示例
- 框架更新
- 基礎原理
- 框架總結