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">
开始构建
</button>pnpm dlx @varo-ui/cli add \
--target weapp \
button input cardSQL 概念示例 · 未运行数据库
-- 迁移草图:API 与运行时待确认
CREATE TABLE notes (
id INTEGER PRIMARY KEY,
body TEXT NOT NULL
);
-- 先验证数据模型,再决定接入方式
