Skip to main content
weapp.dev
Back to the stack
Stable

weapp-vite

A modern Vite toolchain for mini-app development

Build, develop, and target multiple mini-app platforms with Vite, including Vue SFC support, the Wevu runtime, automatic routing, and extensible tooling.

weapp-vite Web runtime component matrix
The same WXML, WXSS, and page state running in the Web runtime.

Install

Mini-app teams that need a modern Vite workflow, Vue SFC, and multi-platform builds.

pnpm add -D weapp-vite

Real runtime output

These images come from official project demos or regression baselines and are stored locally on this site.

weapp-vite Web runtime component matrix
The same WXML, WXSS, and page state running in the Web runtime.
weapp-vite Web runtime page stack and tab bar workbench
Page stack, device viewport, and bottom safe area share one runtime boundary.

Core capabilities

  • Vite-powered builds
  • Vue SFC
  • Six platform targets
  • Wevu runtime

Common use cases

  1. 01Start and build mini-app projects with Vite
  2. 02Organize pages with Vue SFC and automatic routing
  3. 03Ship one project to WeChat, Alipay, Douyin, and other targets

Platforms

WeChatAlipayDouyinBaiduKuaishouWeb
Current versionv7.0.1Sep 2, 2026
Weekly downloads3K
GitHub Stars472

Frequently asked questions

What problem does weapp-vite solve?

It provides a Vite-powered development and build workflow for mini-apps, combining Vue SFC, automatic routing, and multi-platform output.

Which platforms does weapp-vite target?

The project targets WeChat, Alipay, Douyin, Baidu, Kuaishou mini-apps, and the Web according to its project metadata.

Future documentation path

/docs/weapp-vite/

This path will become canonical when aggregated documentation launches.

Analytics preferences

Cookie-free Cloudflare baseline analytics always remains active. Baidu Analytics and Google Analytics are enabled by default on the production site, and you can turn them off at any time.