Skip to content

Commit 7177db7

Browse files
liuzejialiuzejia
authored andcommitted
fix: 修复一些错别字
1 parent f31e7cb commit 7177db7

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

docs/config-detail.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1905,7 +1905,7 @@ module.exports = {
19051905
### h5.legacy
19061906

19071907
:::info
1908-
Taro v3.7.0 开始支持。
1908+
Taro v4.0.0 开始支持。
19091909
:::
19101910

19111911
`boolean`

docs/template.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ zip 包解压出单文件夹,文件夹内包含若干模板。
8383

8484
很多情况下需要为模板加入一些逻辑,从而根据不同的环境生成不同的模板内容。
8585

86-
开发者可以在模板根目录加入 **template_creator.js** 文件,文件对外 exports 包含 handler 、 basePageFiles compiler 字段的对象:
86+
开发者可以在模板根目录加入 **template_creator.js** 文件,文件对外 exports 包含 handler 、 basePageFiles compiler 字段的对象:
8787

8888
```js {5,16} title="template_creator.js"
8989
const path = require('path')
@@ -120,7 +120,7 @@ const basePageFiles = ['/src/pages/index/index.jsx', '/src/pages/index/index.css
120120
module.exports = {
121121
handler,
122122
basePageFiles,
123-
compiler: ['webpack5', 'webpack4', 'vite']
123+
compiler: ['Webpack5', 'Webpack4', 'Wite']
124124
}
125125
```
126126

@@ -272,4 +272,4 @@ module.exports = {
272272
Taro v4.0.0+ 开始支持
273273
:::
274274

275-
compiler 告诉 cli 当前模版支持的编译器类型,该值是一个 `string[]`,目前 taro 支持的编译器类型有 `webpack4、webpack5、vite`
275+
compiler 告诉 cli 当前模版支持的编译器类型,该值是一个 `string[]`,目前 taro 支持的编译器类型有 `Webpack4、Webpack5、Vite`

versioned_docs/version-4.x/config-detail.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1905,7 +1905,7 @@ module.exports = {
19051905
### h5.legacy
19061906

19071907
:::info
1908-
Taro v3.7.0 开始支持。
1908+
Taro v4.0.0 开始支持。
19091909
:::
19101910

19111911
`boolean`

versioned_docs/version-4.x/template.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ zip 包解压出单文件夹,文件夹内包含若干模板。
8383

8484
很多情况下需要为模板加入一些逻辑,从而根据不同的环境生成不同的模板内容。
8585

86-
开发者可以在模板根目录加入 **template_creator.js** 文件,文件对外 exports 包含 handler 、 basePageFiles compiler 字段的对象:
86+
开发者可以在模板根目录加入 **template_creator.js** 文件,文件对外 exports 包含 handler 、 basePageFiles compiler 字段的对象:
8787

8888
```js {5,16} title="template_creator.js"
8989
const path = require('path')
@@ -120,7 +120,7 @@ const basePageFiles = ['/src/pages/index/index.jsx', '/src/pages/index/index.css
120120
module.exports = {
121121
handler,
122122
basePageFiles,
123-
compiler: ['webpack5', 'webpack4', 'vite']
123+
compiler: ['Webpack5', 'Webpack4', 'Vite']
124124
}
125125
```
126126

@@ -272,4 +272,4 @@ module.exports = {
272272
Taro v4.0.0+ 开始支持
273273
:::
274274

275-
compiler 告诉 cli 当前模版支持的编译器类型,该值是一个 `string[]`,目前 taro 支持的编译器类型有 `webpack4、webpack5、vite`
275+
compiler 告诉 cli 当前模版支持的编译器类型,该值是一个 `string[]`,目前 taro 支持的编译器类型有 `Webpack4、Webpack5、Vite`

0 commit comments

Comments
 (0)