Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c5b1aee

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

File tree

3 files changed

+3
-2
lines changed
Filter options

3 files changed

+3
-2
lines changed

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

Copy file name to clipboardExpand all lines: docs/zh-cn/configurations/asset-url.md
+1-1Lines changed: 1 addition & 1 deletion
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

Copy file name to clipboardExpand all lines: docs/zh-cn/options.md
+2Lines changed: 2 additions & 0 deletions
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

Copy file name to clipboardExpand all lines: docs/zh-cn/start/spec.md
-1Lines changed: 0 additions & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.