Skip to content
 
 

Repository files navigation

小海龟的个人主页

一个使用 Vue 3 与 Vite 构建的静态个人主页,部署目标为 Cloudflare Pages。

本地运行

需要 Node.js 22.16 或更高版本,以及 pnpm 11。

pnpm install
pnpm dev

本地地址为 http://127.0.0.1:7999/。

修改内容

主页文字、项目、社交账号和其他站点统一保存在 src/data/site.json。

  • profile:名字、首屏文案、简介和头像。
  • projects:做过的东西,调整数组顺序即可改变展示顺序。
  • socials:GitHub、B站和复制型联系方式。
  • sites:其他站点;数组为空时整节自动隐藏。

图片放在 public/images,站内路径以 /images/ 开头。

Cloudflare Pages

  • Production branch:dev
  • Build command:pnpm build
  • Build output directory:dist
  • Root directory:/

首次连接 GitHub 后,Cloudflare 会根据 .node-version 使用 Node.js 22.16.0。

About

个人主页,我的个人主页,个人主页源码,主页模板,homepage

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages