update: create new docs
This commit is contained in:
1 parent
0e43007dd0
commit
4cf1fd7667
26 files changed
+90
-1
No files matched your search
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"label": "快速开始",
|
||||
"position": 2,
|
||||
"link": {
|
||||
"type": "generated-index"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# 第一个页面(hello world)
|
||||
|
||||
```html title="examples/hello-world/index.html"
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
<div>hello world</div>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
||||
将文件在浏览器中打开,你将会看到 `hello world` 字样
|
||||
|
||||

|
||||
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
@@ -0,0 +1,11 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
---
|
||||
|
||||
# 简单的服务
|
||||
|
||||
在 `examples/hello-world/index.html` 文件夹下输入
|
||||
|
||||
```
|
||||
npx http
|
||||
```
|
||||
Reference in new issue
Block a user