import { defineConfig } from 'weapp-vite'
export default defineConfig({
weapp: {
multiPlatform: {
enabled: true,
targets: ['weapp'],
},
},
})dist/weapp/dist/index.wxmlindex.wxssindex.jsindex.json
pnpm exec wv build -p weapp<button
class="bg-emerald-700 text-white
rounded-md px-6 py-3
font-medium">
Start building
</button>pnpm dlx @varo-ui/cli add \
--target weapp \
button input cardSQL concept · no database is running
-- migration sketch: API and runtime are to be confirmed
CREATE TABLE notes (
id INTEGER PRIMARY KEY,
body TEXT NOT NULL
);
-- validate the data model before choosing an integration boundarynpm create vite-taro@latest my-app
# Reuse React and Taro components and APIs
# Official HMR demo: heading updated, counter still at 5BUILD
weapp-vite
Vite builds for mini-app projects
Owns dependencies, routes, subpackages, and single-target multi-platform builds. Keep your page structure; hand the build pipeline to Vite.
- Weekly downloads
- 3.2K
- Stars
- 465

