Skip to content

Commit 9aadce0

Browse files
committed
chore: update docs
1 parent 488bb9e commit 9aadce0

File tree

4 files changed

+8
-47
lines changed

4 files changed

+8
-47
lines changed

docs/features/launch-editor.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,17 @@ A clickable link usually looks like this:
1717
<span class="bg-#00DC8250 px-5px py-2px rd-5px">
1818
🔦
1919
<a href="">
20-
http://localhost:3070#3abe,6,3
20+
http://127.1:3070#3abe,6,3
2121
</a>
2222
</span>
2323

24+
> `127.1` is the abbreviation of `127.0.0.1`
25+
2426
It consists of the following parts:
2527

2628
- `#3abe,6,3`: A hash attribute in the URL, where `3abe` is a randomly generated string corresponding to a specific file in the project, and `6`,`3` is the line and column numbers of the console statement in the source code.
2729

28-
- `http://localhost:3070`: A [static page](https://github.com/unplugin/unplugin-turbo-console/blob/main/src/core/client/index.html), It will send the hash attribute to the Node.js service. The Node.js service obtains the specific file path and row number, and then opens the editor through [launch-editor](https://github.com/yyx990803/launch-editor).
30+
- `http://127.1:3070`: A [static page](https://github.com/unplugin/unplugin-turbo-console/blob/main/src/core/client/index.html), It will send the hash attribute to the Node.js service. The Node.js service obtains the specific file path and row number, and then opens the editor through [launch-editor](https://github.com/yyx990803/launch-editor).
2931

3032
::: tip
3133

docs/zh-CN/features/launch-editor.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,17 @@
1717
<span class="bg-#00DC8250 px-5px py-2px rd-5px">
1818
🔦
1919
<a href="">
20-
http://localhost:3070#3abe,6,3
20+
http://127.1:3070#3abe,6,3
2121
</a>
2222
</span>
2323

24+
> `127.1``127.0.0.1` 的缩写
25+
2426
它由以下几部分组成:
2527

2628
- `#3abe,6,3`: 一个包含在URL中的hash属性,其中`3abe`是一个随机生成字符串,对应项目中的一个具体文件,`6``3`分别代表`console`源代码所在的行号和列号。
2729

28-
- `http://localhost:3070`: 一个[静态页面](https://github.com/unplugin/unplugin-turbo-console/blob/main/src/core/client/index.html),它的作用是将 hash 属性发送给 Node.js 服务,Node.js 服务获取到具体的文件路径和行列号,再通过[launch-editor](https://github.com/yyx990803/launch-editor)打开编辑器。
30+
- `http://127.1:3070`: 一个[静态页面](https://github.com/unplugin/unplugin-turbo-console/blob/main/src/core/client/index.html),它的作用是将 hash 属性发送给 Node.js 服务,Node.js 服务获取到具体的文件路径和行列号,再通过[launch-editor](https://github.com/yyx990803/launch-editor)打开编辑器。
2931

3032
::: tip 提示
3133

examples/vite-vue3/.vscode/extensions.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

examples/vite-vue3/README.md

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)