Skip to content

Commit 41ff97d

Browse files
boray-twdarbychang
authored andcommitted
docs: fix typo in pug commands
1 parent 684e3b1 commit 41ff97d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

unit/preprocessor/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ yarn # if you have `yarn` installed
4141
```shell
4242
./node_modules/.bin/pug3 ./app/index.pug -o ./dist/ -P # in Linux
4343
./node_modules/.bin/pug3.cmd ./app/index.pug -o ./dist/ -P # in Windows
44-
yarn pug ./app/index.pug -o ./dist/ -P # if you have yarn installed
45-
npx pug ./app/index.pug -o ./dist/ -P # if you have npx installed
44+
yarn pug3 ./app/index.pug -o ./dist/ -P # if you have yarn installed
45+
npx pug3 ./app/index.pug -o ./dist/ -P # if you have npx installed
4646
```
4747

4848
Compare `./app/index.pug` and `./dist/index.html`.
@@ -60,7 +60,7 @@ yarn # if you have `yarn` installed
6060
厭倦一直編譯了嗎?使用 `--wath` 參數。
6161

6262
```shell
63-
./node_modules/.bin/pug ./app/index.pug -o ./dist/ -P --watch
63+
./node_modules/.bin/pug3 ./app/index.pug -o ./dist/ -P --watch
6464
```
6565

6666
The `./dist/index.html` is automatically re-generated whenever you save `./app/index.pug`.

0 commit comments

Comments
 (0)