mirror of
https://github.com/sunniejs/vue-h5-template.git
synced 2026-12-01 13:23:44 +08:00
780 B
780 B
Contributing
Development Rules
- Use pnpm; do not commit
package-lock.jsonoryarn.lock. - API functions must declare parameter and result types.
- Avoid
any; useunknownat boundaries and narrow it after validation. - Keep Mock development-only by default.
- Commit generated component and auto-import declarations with source changes.
Before Submitting
pnpm check
A pull request should explain behavior changes, verification, and affected environment variables.
Documentation
Documentation is maintained on the docs branch:
git switch docs
pnpm install
pnpm dev
Feature documentation must update both Simplified Chinese and English pages. Navigation lives in docs/.vitepress/config.js; run pnpm build before submitting.