给小程序现代化的开发体验
weapp-vite brings a modern Vite-style workflow to traditional mini-program development. The monorepo includes the core bundler, runtime packages, templates, IDE helpers, MCP support, and end-to-end examples for building WeChat and related mini-program projects with better DX.
- Why weapp-vite
- Highlights
- Quick Start
- Workspace Layout
- Key Packages
- Documentation
- Contributing
- Contributors
- Star History
- License
- Use a modern toolchain for mini-program apps instead of legacy-only workflows.
- Start quickly with the official
create-weapp-vitescaffolder. - Build across multiple templates, runtimes, demos, and e2e apps from one workspace.
- Explore AI-friendly tooling such as MCP support, IDE helpers, and packaged skills.
- Official scaffolder:
create-weapp-vite - Core bundler/runtime packages under
packages/,packages-runtime/, and@weapp-core/ - Ready-to-run demo apps in
apps/and regression fixtures ine2e-apps/ - Documentation site in
website/ - Extensive CI, HMR, IDE, and runtime validation scripts powered by
pnpm+turbo
pnpm create weapp-viteYou can also use yarn create weapp-vite or npm create weapp-vite@latest.
pnpm install
pnpm build:pkgs
pnpm testUseful follow-up commands:
pnpm build:apps
pnpm build:templates
pnpm build:docspackages/andpackages-runtime/: core tooling and runtime packages@weapp-core/: shared workspace utilities and constantsapps/: demo and playground applicationstemplates/: starter templates used by the scaffoldere2e/ande2e-apps/: CI, runtime, and issue reproduction coveragewebsite/: the documentation sitedocs/: architecture notes, plans, and reportsextensions/: editor and integration extensions
weapp-vite: the main mini-program bundlercreate-weapp-vite: official project scaffolder@weapp-vite/mcp: MCP-related toolingweapp-ide-cli: CLI helpers for WeChat DevTools workflowsrolldown-require: helper for bundling and requiring files with Rolldown
- Main docs: https://vite.icebreaker.top
- Contributing guide: CONTRIBUTING.md
- Chinese README: README_CN.md
Contributions are welcome.
- Open an issue for bugs, feature ideas, or documentation gaps.
- Send a PR for fixes, refactors, docs, or new examples.
- Share production use cases, middleware, and ecosystem integrations.
For contribution details, see CONTRIBUTING.md.
Thanks to all contributors.
Distributed under the MIT License. See LICENSE for more information.
