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

translation: tutorial/setup.md #75

Merged
merged 2 commits into from
Oct 30, 2018
Merged

translation: tutorial/setup.md #75

merged 2 commits into from
Oct 30, 2018

Conversation

harttle
Copy link
Member

@harttle harttle commented Oct 25, 2018

working on #65

@andycall andycall mentioned this pull request Oct 25, 2018
54 tasks

### NPM

在使用 san 来构建大型应用时我们推荐使用 NPM 来安装。通过它能够方便的管理依赖包,以及和社区的各种开发构建工具良好配合,构建你的应用程序。
Installing by NPM is recommended when used to build large-scaled applications.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Installing by NPM -> via NPM


### NPM

在使用 san 来构建大型应用时我们推荐使用 NPM 来安装。通过它能够方便的管理依赖包,以及和社区的各种开发构建工具良好配合,构建你的应用程序。
Installing by NPM is recommended when used to build large-scaled applications.
It's a package manager with a large community, which is especially useful when it comes to development tooling.
Copy link
Collaborator

Choose a reason for hiding this comment

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

It's a -> NPM is a

----------

在开发中,我们推荐使用 `san.dev.js`(位于 `san/dist/san.dev.js`)。`san.dev.js` 提供了包括 [数据校验](/san/tutorial/data-checking/) 等辅助开发功能。这些辅助开发功能可以帮助你在更轻松、快速地定位和解决问题。
In development environment, we recommended the `san.dev.js`(located at `san/dist/san.dev.js`).
Copy link
Collaborator

Choose a reason for hiding this comment

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

we recommended the -> recommend you to use

Copy link
Member Author

Choose a reason for hiding this comment

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

交叉review的重要性啊!自己读过也会有很多问题。马上改一版


但出于性能考虑,正式的生产环境上需要移除了这些辅助开发功能。在 san 的发布包中提供了构建好的生产版本给大家使用,即 `san.js`(位于 `san/dist/san.js`)。你应当在构建应用的生产版本时使用它。
For performance considerations, the production build removed these functionalities.
Copy link
Collaborator

Choose a reason for hiding this comment

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

removed -> removes

@otakustay otakustay merged commit 95b415e into baidu:master Oct 30, 2018
ice-zjchen pushed a commit to ice-zjchen/san-website that referenced this pull request Nov 2, 2018
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.

None yet

2 participants