Skip to content

Commit d0ccd17

Browse files
chenghuzihaoqunjiang
authored andcommitted
docs(zh): fix typo (#1605) [ci skip]
1 parent 0751213 commit d0ccd17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/zh/guide/pre-processors.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ TypeScript 的配置可以通过 `tsconfig.json` 来完成。你也可以查阅
225225

226226
## Pug
227227

228-
模板的处理会稍微有些不同,因为绝大对数 webpack 的模板类 loader,诸如 `pug-loader`,会返回一个模板函数而不是一个编译好的 HTML 字符串。所以我们需要使用一个返回原始的 HTML 字符串的 loader,例如 `pug-plain-loader`,而不是使用 `pug-loader`
228+
模板的处理会稍微有些不同,因为绝大多数 webpack 的模板类 loader,诸如 `pug-loader`,会返回一个模板函数而不是一个编译好的 HTML 字符串。所以我们需要使用一个返回原始的 HTML 字符串的 loader,例如 `pug-plain-loader`,而不是使用 `pug-loader`
229229

230230
``` bash
231231
npm install -D pug pug-plain-loader

0 commit comments

Comments
 (0)