The VitePress site that documents mod development for the port: getting started, a mod
project's structure, a Mixin walk-through, the Fabric-style API for content and
resources, a reading of pvz-content-mod, and how to build, test and ship a mod.
Chinese is the default locale; the English copy lives under en/ with the same file
names.
Built with Bun. node_modules and bun.lock are Bun's; there is no npm lockfile.
VitePress is pinned to exactly 2.0.0-alpha.20 (no range) because the 2.x line has
no stable release yet.
bun install # once, and after package.json changes
bun run dev # dev server on http://localhost:5173 (hot reload)
bun run build # static site into .vitepress/dist
bun run preview # serve the built sitebun run build fails on a dead internal link, so a green build is also the link check.