docs: README和官网添加环境与版本支持说明

This commit is contained in:
tianhao
2026-06-16 13:57:48 +08:00
parent 7dc7df59e0
commit f8f079dd1a
2 changed files with 22 additions and 0 deletions
+6
View File
@@ -136,6 +136,12 @@
</div>
</main>
<section class="container">
<h2 class="section-title">环境支持</h2>
<p class="section-desc">Chrome 64+ / Firefox 63+ / Safari 11+ / Edge 79+ / Node.js 18+ / TypeScript 4.5+</p>
<p style="text-align:center;color:var(--muted);font-size:13px;margin-top:8px">依赖 Web Animations API · Pointer Events · CSS Grid · CSS Custom Properties — 所有现代浏览器原生支持</p>
</section>
<section class="container">
<h2 class="section-title">快速开始</h2>
<p class="section-desc">浏览器 window 上仅注册两个全局变量:<code>MeToast</code><code>Met</code>,完全等价</p>