Files
skills/skills/app-dev/references/templates/web/index.html
T
sunjunzhao 8abc6a4abf feat: add publish-app skill; rename dev-app to app-dev
- publish-app: convert/add Gitea Actions deploy job to publish TickShield
  apps to the marketplace via aigrego-release (Go static binary) —
  --store auto-publish + --wait review gate; local-first CLI fetch
  (ensure-cli.sh) with minIO platform-matrix download + sha256 verify;
  workflow template and 12-item check script
- rename dev-app to app-dev per app-centric naming convention (no
  tickshield- prefix), documented in AGENTS.md and README
- app-dev boundary routes CI publish workflow work to publish-app;
  both skills are project-level installs only
2026-10-19 16:38:22 +08:00

18 lines
719 B
HTML

<!doctype html>
<!-- micro 应用托管页:资源一律绝对路径 /apps/<key>/_/ 引用(门户同源托管 /apps/<key>/_/*)。
PROD CSP 严格 default-src 'self'——禁止内联脚本,JS 必须外置文件。
portal-sdk 用 vendor 版全局注入(不打进 bundle,桥协议版本与宿主同源)。
占位:全局替换 my-app → 你的 listingKey。 -->
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>我的应用</title>
</head>
<body>
<div id="root"></div>
<script src="/apps/my-app/_/vendor/portal-sdk.js"></script>
<script src="/apps/my-app/_/app.bundle.js"></script>
</body>
</html>