Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vue-loader
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pi-plusplus
fork-from-github
vue-loader
Commits
d0ccd174
Commit
d0ccd174
authored
Nov 10, 2019
by
Huzi Cheng
Committed by
Haoqun Jiang
Nov 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs(zh): fix typo (#1605) [ci skip]
parent
0751213c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pre-processors.md
docs/zh/guide/pre-processors.md
+1
-1
No files found.
docs/zh/guide/pre-processors.md
View file @
d0ccd174
...
...
@@ -225,7 +225,7 @@ TypeScript 的配置可以通过 `tsconfig.json` 来完成。你也可以查阅
## Pug
模板的处理会稍微有些不同,因为绝大
对
数 webpack 的模板类 loader,诸如
`pug-loader`
,会返回一个模板函数而不是一个编译好的 HTML 字符串。所以我们需要使用一个返回原始的 HTML 字符串的 loader,例如
`pug-plain-loader`
,而不是使用
`pug-loader`
。
模板的处理会稍微有些不同,因为绝大
多
数 webpack 的模板类 loader,诸如
`pug-loader`
,会返回一个模板函数而不是一个编译好的 HTML 字符串。所以我们需要使用一个返回原始的 HTML 字符串的 loader,例如
`pug-plain-loader`
,而不是使用
`pug-loader`
。
```
bash
npm
install
-D
pug pug-plain-loader
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment