docs: update tutorial

This commit is contained in:
cqh963852 committed 2026-08-19 13:23:30 +08:00
1 parent 654cb4e981
commit 1042c0536e
11 files changed
+9091 -12379

No files matched your search

@@ -15,3 +15,9 @@ npx http-server
```
![输入命令](./start_http_server.png)
## 关于npx
`npx` 用于执行 npm 包中的可执行文件,不需要全局安装就可以运行一个包。
这里执行 `npx http-server`,npx 会临时下载 `http-server` 包并启动一个静态资源服务器,把当前目录作为网站根目录。