1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
title: 快速上手
- -
在 GitHub 上点击 **Use this template**,或直接克隆仓库:
```bash
git clone https://github.com/euv-dev/euv-docs.git my-docs
cd my-docs
```
新建 `docs/guide/hello.md`:
```markdown
我的第一页。
```
该文件自动出现在 `#/guide/hello.html`,并自动进入侧边栏。
```bash
euv build -- --target web --out-dir www/pkg --out-name euv_docs --no-typescript --no-pack
```
静态站点产物输出到 `www/`。
```bash
euv run --dev --port 8080 -- --target web --out-dir www/pkg --out-name euv_docs --no-typescript --no-pack
```
然后打开 <http://localhost:8080>。
::: tip
开发服务器监听 `src/` 与 `docs/` —— 修改 markdown 会自动重新构建。
:::