这是一个适合直接发布到 GitHub Pages 的纯前端版本。
index.htmlstyles.cssapp.jsdata/pets.csv.nojekyll
- 新建 GitHub 仓库
- 把本目录所有文件上传到仓库根目录
- 打开仓库
Settings -> Pages - 选择:
Deploy from a branch- Branch:
main - Folder:
/ (root)
- 保存后等待发布
发布地址通常是:
https://你的用户名.github.io/你的仓库名/
| Name | Name | Last commit date | ||
|---|---|---|---|---|
这是一个适合直接发布到 GitHub Pages 的纯前端版本。
index.htmlstyles.cssapp.jsdata/pets.csv.nojekyllSettings -> PagesDeploy from a branchmain/ (root)发布地址通常是:
https://你的用户名.github.io/你的仓库名/