Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-horse committed Dec 28, 2018
1 parent 17b1561 commit 22ab4ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/en/basics/app-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ When the application starts up, we often need to set up some initialization logi

The framework provides a unified entry file (`app.js`) for boot process customization. This file need returns a Boot class. We can define the initialization process in the startup application by defining the lifecycle method in the Boot class.

The framework has provided you several functions to handle during the whole life cycle:
The framework has provided you several functions to handle during the whole [life cycle](../advanced/loader.md#life-cycles):

- `configWillLoad`: All the config files are ready to load, so this is the LAST chance to modify them.
- `configDidLoad`: When all the config files have been loaded.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/zh-cn/basics/app-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: 启动自定义

框架提供了统一的入口文件(`app.js`)进行启动过程自定义,这个文件返回一个 Boot 类,我们可以通过定义 Boot 类中的生命周期方法来执行启动应用过程中的初始化工作。

框架提供了这些生命周期函数供开发人员处理
框架提供了这些[生命周期函数](../advanced/loader.md#life-cycles)供开发人员处理

- 配置文件即将加载,这是最后动态修改配置的时机(`configWillLoad`
- 配置文件加载完成(`configDidLoad`
Expand Down

0 comments on commit 22ab4ae

Please sign in to comment.