Skip to content

Commit 28a10c6

Browse files
wxsmsmeteorlxy
authored andcommitted
docs: fix misleading shouldPrefetch link (#2025)
1 parent bb26748 commit 28a10c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/docs/docs/config/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Specify locales for i18n support. For more details, see the guide on [Internatio
9393
- Type: `Function`
9494
- Default: `() => true`
9595

96-
A function to control what files should have `<link rel="preload">` resource hints generated. See [shouldPrefetch](https://ssr.vuejs.org/api/#shouldprefetch).
96+
A function to control what files should have `<link rel="prefetch">` resource hints generated. See [shouldPrefetch](https://ssr.vuejs.org/api/#shouldprefetch).
9797

9898
### cache
9999

packages/docs/docs/zh/config/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ module.exports = {
9090
- 类型: `Function`
9191
- 默认值: `() => true`
9292

93-
一个函数,用来控制对于哪些文件,是需要生成 `<link rel="prefetch">` 资源提示的。请参考 [shouldPrefetch](https://ssr.vuejs.org/zh/api/#shouldpreload)
93+
一个函数,用来控制对于哪些文件,是需要生成 `<link rel="prefetch">` 资源提示的。请参考 [shouldPrefetch](https://ssr.vuejs.org/zh/api/#shouldprefetch)
9494

9595
### cache
9696

0 commit comments

Comments
 (0)