File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ yarn # if you have `yarn` installed
41
41
``` shell
42
42
./node_modules/.bin/pug3 ./app/index.pug -o ./dist/ -P # in Linux
43
43
./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
46
46
```
47
47
48
48
Compare ` ./app/index.pug ` and ` ./dist/index.html ` .
@@ -60,7 +60,7 @@ yarn # if you have `yarn` installed
60
60
厭倦一直編譯了嗎?使用 ` --wath ` 參數。
61
61
62
62
``` 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
64
64
```
65
65
66
66
The ` ./dist/index.html ` is automatically re-generated whenever you save ` ./app/index.pug ` .
You can’t perform that action at this time.
0 commit comments