vuejs/v2.cn.vuejs.org

Vue.compile() 这个api的翻译不准确,会误导人

cutie6 opened this issue · 7 comments

目前中文文档中翻译成:
在 render 函数中编译模板字符串。只在独立构建时有效。

英文文档是:
Compiles a template string into a render function. Only available in the full build.

建议翻译成:
将一个模板字符串编译成render函数。只在full build的时候可用。

欢迎提交 PR 👍

@lujing2 介意我用您的翻译提交一个PR么? 😃

@lujing2 你需要 push 到你自己 fork 的项目,然后再从那里发起 pull request。

closed due to #1039