Skip to content

[docs][zh-cn] synced updates to v14.2 #1180

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 2 commits into from
Mar 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/zh-cn/configurations/asset-url.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ createElement('img', { attrs: { src: require('../image.png') }})
- 如果路径以 `~` 开头,其后的部分将会被看作模块依赖。这意味着你可以用该特性来引用一个 node 依赖中的资源:

``` html
<img src="~/some-npm-package/foo.png">
<img src="~some-npm-package/foo.png">
```

- (13.7.0+) 如果路径以 `@` 开头,也会被看作模块依赖。如果你的 webpack 配置中给 `@` 配置了 alias,这就很有用了。所有 `vue-cli` 创建的项目都默认配置了将 `@` 指向 `/src`。
Expand Down
2 changes: 2 additions & 0 deletions docs/zh-cn/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ module.exports = {

### esModule

> 这个选项已经从 v14.0 中移除。在 v14.0 及以上版本中,`*.vue` 文件始终暴露为 ES 模块。

- 类型: `Boolean`
- 默认值: `undefined`

Expand Down
1 change: 0 additions & 1 deletion docs/zh-cn/start/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ export default {

### 语法高亮


目前语法高亮支持 [Sublime Text](https://github.com/vuejs/vue-syntax-highlight)、[Atom](https://atom.io/packages/language-vue)、[Vim](https://github.com/posva/vim-vue)、[Emacs](https://github.com/AdamNiederer/vue-mode)、[Visual Studio Code](https://marketplace.visualstudio.com/items/liuji-jim.vue)、[Brackets](https://github.com/pandao/brackets-vue) 和 [JetBrains products](https://plugins.jetbrains.com/plugin/8057) (WebStorm、PhpStorm 等)。非常感谢其他编辑器/IDE 所做的贡献!如果在 Vue 组件中没有使用任何预处理器,你可以把 `.vue` 文件当作 HTML 对待。

### 注释
Expand Down