mirror of
https://github.com/EasyTier/easytier.github.io.git
synced 2026-10-19 08:15:34 +00:00
feat(site): host the WASM config generator
Publish the standalone browser bundle at /assistant/ and link to it outside the VitePress SPA. Ignore bundled assets in ESLint.
This commit is contained in:
@@ -81,7 +81,7 @@ export const cn = defineConfig({
|
||||
},
|
||||
{
|
||||
text: '<iconify-icon icon="fa6-solid:wand-magic-sparkles" style="margin-right:0.25rem;color:#8B5CF6;" alt="assistant"></iconify-icon>配置助手',
|
||||
link: 'https://easytier.rs/assistant',
|
||||
link: 'https://easytier.cn/assistant/',
|
||||
},
|
||||
{
|
||||
text: '<iconify-icon icon="fa6-solid:bug" style="margin-right:0.25rem;color:#FF4500;" alt="bug"></iconify-icon>提交反馈',
|
||||
|
||||
@@ -77,7 +77,7 @@ export const en = defineConfig({
|
||||
},
|
||||
{
|
||||
text: '<iconify-icon icon="fa6-solid:wand-magic-sparkles" style="margin-right:0.25rem;color:#8B5CF6;" alt="assistant"></iconify-icon>Config assistant',
|
||||
link: 'https://easytier.rs/assistant',
|
||||
link: 'https://easytier.cn/assistant/',
|
||||
},
|
||||
{
|
||||
text: '<iconify-icon icon="fa6-solid:bug" style="margin-right:0.25rem;color:#FF4500;" alt="bug"></iconify-icon>Submit Feedback',
|
||||
|
||||
@@ -16,7 +16,7 @@ Running `easytier-core` directly without parameters will generate the minimal co
|
||||
|
||||
## EasyTier Assistant
|
||||
|
||||
If you do not want to write the configuration file manually, you can use [EasyTier Assistant](https://easytier.rs/assistant) to generate one, then load it with the `-c` parameter:
|
||||
If you do not want to write the configuration file manually, you can use [EasyTier Assistant](https://easytier.cn/assistant/) to generate one, then load it with the `-c` parameter:
|
||||
|
||||
```sh
|
||||
easytier-core -c ./config.toml
|
||||
|
||||
+1
-1
@@ -8,5 +8,5 @@ export default antfu({
|
||||
'pnpm/yaml-enforce-settings': 'off',
|
||||
'style/eol-last': ['error', 'always'],
|
||||
},
|
||||
ignores: ['**/*.md'],
|
||||
ignores: ['**/*.md', 'public/assistant/**'],
|
||||
})
|
||||
|
||||
@@ -16,7 +16,7 @@ easytier-core -c ./config.yaml
|
||||
|
||||
## EasyTier 配置助手
|
||||
|
||||
如果不想手动编写配置文件,可以访问 [EasyTier 配置助手](https://easytier.rs/assistant) 按需生成配置文件,然后通过 `-c` 参数加载:
|
||||
如果不想手动编写配置文件,可以访问 [EasyTier 配置助手](https://easytier.cn/assistant/) 按需生成配置文件,然后通过 `-c` 参数加载:
|
||||
|
||||
```sh
|
||||
easytier-core -c ./config.toml
|
||||
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,13 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>EasyTier Config Generator</title>
|
||||
<script type="module" crossorigin src="./assets/index-CU7Lyann.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-DiF3rEUM.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user