Skip to content

Update routing.md #136

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

Merged
merged 3 commits into from
Sep 22, 2017
Merged

Update routing.md #136

merged 3 commits into from
Sep 22, 2017

Conversation

njleonzhang
Copy link
Contributor

No description provided.

@@ -36,7 +36,7 @@ export function createApp () {
router,
render: h => h(App)
})
// 注入 router 到根 Vue 实例
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

@njleonzhang njleonzhang Sep 22, 2017

Choose a reason for hiding this comment

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

I thought it is a redundancy, because line 39 is same to line 35. But according to the en version, it should be a translation error.

Copy link
Member

Choose a reason for hiding this comment

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

Yes, the 2 comments have different meanings imo. The L39 is about inject and L39 is about return. So agree with @kazupon .

zh/routing.md Outdated
@@ -36,8 +36,8 @@ export function createApp () {
router,
render: h => h(App)
})
// 注入 router 到根 Vue 实例
return { app, router }
 // 返回app和router
Copy link
Member

@Jinjiang Jinjiang Sep 22, 2017

Choose a reason for hiding this comment

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

Btw. Please leave spaces between Chinese chars and English letters. (like: // 返回 app 和 router)

@kazupon kazupon merged commit 9eba2ea into vuejs:master Sep 22, 2017
@kazupon
Copy link
Member

kazupon commented Sep 22, 2017

Thanks!

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