Skip to content

Commit ab4e7b8

Browse files
authored
Merge branch 'main' into chore/github-workflow
2 parents 77ca547 + b6aa467 commit ab4e7b8

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

website/docs/en/config/output/manifest.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ type ManifestList = {
2626
js?: FilePath[];
2727
css?: FilePath[];
2828
};
29-
/** html files related to the current entry */
29+
/** HTML files related to the current entry */
3030
html?: FilePath[];
3131
/** other assets (e.g. png、svg、source map) related to the current entry */
3232
assets?: FilePath[];

website/docs/en/config/performance/prefetch.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ The `type` field controls which resources will be pre-fetched, and supports seco
9090
Currently supported resource types are as follows:
9191

9292
- `async-chunks`: prefetch all asynchronous resources (on the current page), including asynchronous JS and its associated CSS, image, font and other resources.
93-
- `initial`: prefetch all non-async resources (on the current page). It should be noted that if the current script has been added to the html template, no additional pre-fetching will be performed.
93+
- `initial`: prefetch all non-async resources (on the current page). It should be noted that if the current script has been added to the HTML template, no additional pre-fetching will be performed.
9494
- `all-chunks`: prefetch all resources (on the current page), including all asynchronous and non-asynchronous resources.
9595
- `all-assets`: prefetch all resources, and resources of other pages will be included in the MPA scenario.
9696

website/docs/en/config/performance/preload.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ The `type` field controls which resources will be pre-fetched, and supports seco
9393
Currently supported resource types are as follows:
9494

9595
- `async-chunks`: preload all asynchronous resources (on the current page), including asynchronous JS and its associated CSS, image, font and other resources.
96-
- `initial`: preload all non-async resources (on the current page). It should be noted that if the current script has been added to the html template, no additional pre-fetching will be performed.
96+
- `initial`: preload all non-async resources (on the current page). It should be noted that if the current script has been added to the HTML template, no additional pre-fetching will be performed.
9797
- `all-chunks`: preload all resources (on the current page), including all asynchronous and non-asynchronous resources.
9898
- `all-assets`: preload all resources, and resources of other pages will be included in the MPA scenario.
9999

website/docs/en/config/server/html-fallback.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
- **Type:** `false | 'index'`
44
- **Default:** `'index'`
55

6-
Whether to support html fallback. By default, when the request meets the following conditions and the corresponding resource is not found, it will fallback to `index.html`:
6+
Whether to support HTML fallback. By default, when the request meets the following conditions and the corresponding resource is not found, it will fallback to `index.html`:
77

88
- The request is a `GET` or `HEAD` request
99
- Which accepts `text/html` (the request header accept type is `text/html` or `*/*`)

website/docs/en/guide/advanced/ssr.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default {
5252
target: 'web',
5353
},
5454
html: {
55-
// Custom html template
55+
// Custom HTML template
5656
template: './index.html',
5757
},
5858
},
@@ -89,7 +89,7 @@ const serverRender = (serverAPI) => async (_req, res) => {
8989

9090
const template = await serverAPI.environments.web.getTransformedHtml('index');
9191

92-
// Insert SSR rendering content into html template
92+
// Insert SSR rendering content into HTML template
9393
const html = template.replace('<!--app-content-->', markup);
9494

9595
res.writeHead(200, {

website/docs/zh/guide/advanced/ssr.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default {
5252
target: 'web',
5353
},
5454
html: {
55-
// 自定义 html 模版
55+
// 自定义 HTML 模版
5656
template: './index.html',
5757
},
5858
},
@@ -89,7 +89,7 @@ const serverRender = (serverAPI) => async (_req, res) => {
8989

9090
const template = await serverAPI.environments.web.getTransformedHtml('index');
9191

92-
// 将 SSR 渲染内容插入到 html 模版中
92+
// 将 SSR 渲染内容插入到 HTML 模版中
9393
const html = template.replace('<!--app-content-->', markup);
9494

9595
res.writeHead(200, {

0 commit comments

Comments
 (0)