Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update installation.md #154

Merged
merged 4 commits into from
Nov 15, 2016
Merged

Update installation.md #154

merged 4 commits into from
Nov 15, 2016

Conversation

zuzhi
Copy link
Contributor

@zuzhi zuzhi commented Nov 13, 2016

No description provided.

@@ -79,6 +79,7 @@ vm.$watch('a', function (newVal, oldVal) {

## 实例生命周期

每个 Vue 实例在被创建之前都要经过一系列的初始化过程。例如,实例需要设置数据监测、编译模版、挂载实例到 DOM ,然后在数据变化时更新 DOM 。在这个过程中,实例也会调用一些 **生命周期钩子** ,这就给我们提供了执行自定义逻辑的机会。例如,`created` 这个钩子在实例被创建之后被调用:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

data observation 建议统一翻译成“数据观测”,参考已有的翻译比如
http://cn.vuejs.org/v2/api/#created
http://cn.vuejs.org/v2/api/#beforeCreate

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK,已修改,改为统一的翻译了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants