🎉 Cloudflare Pages 已準備就緒

這是最簡單的靜態網站範例。你可以直接修改 index.htmlstyles.css

常用檔案

下一步

  1. 在 GitHub 建立 repo,將這個資料夾所有檔案上傳。
  2. Cloudflare 儀表板 → Pages → Create a project → Connect to Git → 選取你的 repo。
  3. Build command 留空,Output directory 使用根目錄 .(因為是純 HTML)。
  4. 部署完成會得到 xxx.pages.dev 預覽網址。
  5. (可選)在 Pages → Custom domains 綁定你的自有網域。