My portfolio site. Vue 3, TypeScript, Vite. Static; deployed to GitHub Pages.
- Node
^20.19.0or>=22.12.0 - pnpm 10
Or with Nix: nix develop provides both.
pnpm install
pnpm dev # http://localhost:3000The dev server listens on all interfaces, port 3000, with
HMR on 3001; both ports are strict. Change them in the
env block of package.json.
pnpm build # type-check + bundle into dist/
pnpm preview # serve dist/ at http://localhost:4173pnpm type-check runs the type-check alone. There are
no tests or lin
5C61
ter.
pnpm covers:optimize # project covers -> AVIF (macOS only)
pnpm icons:recolor # icon paints -> currentColorRun these after changing a cover or an icon, then commit the output. The build does not run them.
Pushing to master builds and publishes to GitHub Pages
(.github/workflows/deploy.yaml).