Skip to content

Update html-and-static-assets.md #2014

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 1 commit into from
Aug 6, 2018
Merged
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
1 change: 0 additions & 1 deletion docs/zh/guide/html-and-static-assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ Prefetch 链接将会消耗带宽。如果你的应用很大且有很多 async c

当你在 JavaScript、CSS 或 `*.vue` 文件中使用相对路径 (必须以 `.` 开头) 引用一个静态资源时,该资源将会被包含进入 webpack 的依赖图中。在其编译过程中,所有诸如 `<img src="...">`、`background: url(...)` 和 CSS `@import` 的资源 URL **都会被解析为一个模块依赖**。

For example, `url(./image.png)` will be translated into `require('./image.png')`, and
例如,`url(./image.png)` 会被翻译为 `require('./image.png')`,而:

``` html
Expand Down