Skip to content

词光 · Word Atlas — Illustrated IELTS vocabulary with 7,298 words, UK/US audio and FSRS review. Open-source app + CC BY 4.0 dataset.

660 B
Raw Blame

部署 / Deployment

npm run build 生成纯静态站点 dist/,可以放到任何静态托管(Nginx、Cloudflare Pages、Vercel、GitHub Pages)。

子路径

ATLAS_BASE=/words/ npm run build

Nginx 示例

location ^~ /words/ {
    alias /var/www/word-atlas/;
    try_files $uri $uri/ /words/index.html;
    expires 7d;
}

GitHub Pages

仓库带有 .github/workflows/pages.yml。在仓库 Settings → Pages 选择 “GitHub Actions”,然后手动运行 “Deploy to GitHub Pages”。

体积

插画与音频合计约数百 MB。建议在 CDN 后部署,或按需只发布 thumb/ 和部分音频。