Skip to content

Commit c5b1aee

Browse files
Jinjiangkazupon
authored andcommitted
[docs][zh-cn] synced updates to v14.2 (#1180)
* [docs][zh-cn] synced updates * Update options.md
1 parent 0ed050d commit c5b1aee

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

docs/zh-cn/configurations/asset-url.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ createElement('img', { attrs: { src: require('../image.png') }})
2323
- 如果路径以 `~` 开头,其后的部分将会被看作模块依赖。这意味着你可以用该特性来引用一个 node 依赖中的资源:
2424

2525
``` html
26-
<img src="~/some-npm-package/foo.png">
26+
<img src="~some-npm-package/foo.png">
2727
```
2828

2929
- (13.7.0+) 如果路径以 `@` 开头,也会被看作模块依赖。如果你的 webpack 配置中给 `@` 配置了 alias,这就很有用了。所有 `vue-cli` 创建的项目都默认配置了将 `@` 指向 `/src`

docs/zh-cn/options.md

+2
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ module.exports = {
162162

163163
### esModule
164164

165+
> 这个选项已经从 v14.0 中移除。在 v14.0 及以上版本中,`*.vue` 文件始终暴露为 ES 模块。
166+
165167
- 类型: `Boolean`
166168
- 默认值: `undefined`
167169

docs/zh-cn/start/spec.md

-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ export default {
104104
105105
### 语法高亮
106106
107-
108107
目前语法高亮支持 [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 对待。
109108
110109
### 注释

0 commit comments

Comments
 (0)