update: create new docs
This commit is contained in:
1 parent
0e43007dd0
commit
4cf1fd7667
26 files changed
+90
-1
No files matched your search
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"label": "Basic Web",
|
||||
"label": "Web基础",
|
||||
"position": 2,
|
||||
"link": {
|
||||
"type": "generated-index"
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"label": "垃圾桶",
|
||||
"position": 5,
|
||||
"link": {
|
||||
"type": "generated-index"
|
||||
}
|
||||
}
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -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
|
||||
```
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"label": "安装工具-win",
|
||||
"position": 1,
|
||||
"link": {
|
||||
"type": "generated-index"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
sidebar_position: 2
|
||||
---
|
||||
|
||||
# 安装 nodejs
|
||||
|
||||
访问网站 https://nodejs.org/zh-cn/
|
||||
|
||||
点击下载长期维护版 并且安装
|
||||
|
||||
全默认选项安装
|
||||
|
||||
> 安装完成重启电脑
|
||||
@@ -0,0 +1,13 @@
|
||||
---
|
||||
sidebar_position: 1
|
||||
---
|
||||
|
||||
# 安装 vscode 编辑器
|
||||
|
||||
访问网站 https://code.visualstudio.com/
|
||||
|
||||
点击下载并且安装
|
||||
|
||||
## 下载速度慢
|
||||
|
||||
参考 https://zhuanlan.zhihu.com/p/112215618
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"label": "更多示例",
|
||||
"position": 3,
|
||||
"link": {
|
||||
"type": "generated-index"
|
||||
}
|
||||
}
|
||||
Whitespace-only changes.
File renamed without changes.
Reference in new issue
Block a user