Skip to content

Commit 689f615

Browse files
romoohaoqunjiang
authored andcommitted
docs(zh): fix typo in link (#3263)
1 parent 04203aa commit 689f615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/zh/guide/build-targets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
##
1515

1616
::: tip 关于 IE 兼容性的提醒
17-
在库模式中,项目的 `publicPath` 是根据主文件的加载路径[动态设置]((https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/cli-service/lib/commands/build/setPublicPath.js))的(用以支持动态的资源加载能力)。但是这个功能用到了 `document.currentScript`,而 IE 浏览器并不支持这一特性。所以如果网站需要支持 IE 的话,建议使用库之前先在页面上引入 [current-script-polyfill](https://www.npmjs.com/package/current-script-polyfill)
17+
在库模式中,项目的 `publicPath` 是根据主文件的加载路径[动态设置](https://github.com/vuejs/vue-cli/blob/dev/packages/@vue/cli-service/lib/commands/build/setPublicPath.js)的(用以支持动态的资源加载能力)。但是这个功能用到了 `document.currentScript`,而 IE 浏览器并不支持这一特性。所以如果网站需要支持 IE 的话,建议使用库之前先在页面上引入 [current-script-polyfill](https://www.npmjs.com/package/current-script-polyfill)
1818
:::
1919

2020
::: tip 注意对 Vue 的依赖

0 commit comments

Comments
 (0)