Skip to content

HypoMux Website

HypoMux 官网,基于 VitePress + Vue 构建。网站是纯静态内容:无需 Node 服务、数据库、Docker 或 VPS。

官网:https://hypomux.com

本地开发

powershell
npm install
npm run dev

验证

powershell
npm run lint
npm run typecheck
npm run build

构建结果位于 dist/

Cloudflare Workers

在 Cloudflare Workers 中通过 Git 集成连接此仓库,并设置:

设置
Build commandnpm run build
Deploy commandnpx wrangler deploy
Worker configurationwrangler.jsonc
Node.js22 或更新版本

wrangler.jsonc 会把构建生成的 dist/ 作为 Worker Static Assets 发布。部署后在 Worker 的 Settings > Domains & Routes 中添加 hypomux.com。根域名需要由同一 Cloudflare 账户托管;Cloudflare 会自动配置所需路由。

不要为 HTML 开启 Auto Minify,以免移除 Vue hydration 所需的注释。

最后更新于:

HypoMux基于 AGPL-3.0 开源协议发布感谢 SignPath 为 HypoMux 提供免费的代码签名支持Free code signing provided by SignPath.io, certificate by SignPath Foundation.