What problem does it solve?
It eliminates the manual, error-prone process of adding a new tool to the EH Tools uni-app project by providing a single, repeatable checklist and templates that cover icons, registry, routes, localization, styles, page scaffolding, and sharing configuration.
Core Features & Use Cases
- SVG icon guidance: enforces 24x24 viewBox, color #667eea, stroke widths and naming conventions for src/static/icons.
- Registry & routing: templates and exact edits to add entries in src/types/tool.ts and src/pages.json and keep ToolCard and homepage mappings in sync.
- i18n and styling: instructions to add zh/en translations, SCSS gradient variables, and dark-mode compatible page structure.
- Page scaffolding & sharing: provides a page template with nav-bar usage, settingsStore theme handling, share-canvas and onShareAppMessage/onShareTimeline integration for share images and result sharing.
- Validation checklist: final verification steps to ensure all required files, mappings, and share configurations are present.
Quick Start
Create a new calc tool named Unit Converter with id unit-converter, add its SVG icon named ruler, and generate all registry, i18n, style, page template, and sharing configuration for EH Tools.