Configure gitbook with vscode (1) change

1. Node environment preparation Gitbook operation guide http://demo.kujiajia.xyz/%E7%8E%AF%E5%A2%83%E5%87%86%E5%A4%87.html

Previous Versions | Node.js

Download 10.23.0

For details, see my last gitbook blog

Here is the version information

C:\Users\hu211>node -v
v10.23.0

C:\Users\hu211>npm -v
4.2.0

Update the npm version

C:\Users\hu211>npm -g install [email protected]
C:\Users\hu211>npm -v
6.14.8

Next download gitbook

C:\Users\hu211>npm install -g gitbook-cli

Then create an empty folder in the address bar cmd

D:\giitbook_project>gitbook init
D:\giitbook_project>gitbook serve
Live reload server started on port: 35729
Press CTRL+C to quit ...

info: 7 plugins are installed
info: loading plugin "livereload"... OK
info: loading plugin "highlight"... OK
info: loading plugin "search"... OK
info: loading plugin "lunr"... OK
info: loading plugin "sharing"... OK
info: loading plugin "fontsettings"... OK
info: loading plugin "theme-default"... OK
info: found 1 pages
info: found 0 asset files
info: >> generation finished with success in 0.5s !

Starting server ...
Serving book on http://localhost:4000

Copy address successfully! !

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324332257&siteId=291194637