@liangfu/vibekit-template
v1.0.0
Published
UniAdapter VibeKit - Vibe-first cross-platform mini-program starter
Downloads
18
Readme
VibeKit Template
Vibe-first Cross-Platform Mini-Program Starter
# Create your VibeKit project in one command
npx create-vibekit my-app
# Or use degit
npx degit liangfuliang541-pixel/uniadapter/packages/vibekit-template my-app
cd my-app
npm install
npm run dev:weappWhat's Inside
| Package | Version | Purpose | |---------|---------|---------| | @liangfu/uniadapter | ^2.0.0 | VibeEngine + VibeUI | | @tarojs/taro | ^3.6.35 | Cross-platform framework | | React | ^18.2.0 | UI library |
VibeKit Features
🌀 AI Vibe Generator
import { useVibeGenerate } from '@liangfu/uniadapter'
const { generate } = useVibeGenerate()
const code = await generate('做一个商品详情页,含轮播和购买按钮', { platform: 'weapp' })📦 VibeUI Components
import { Button, Card, Dialog, Toast } from '@liangfu/uniadapter'
// Register once, use everywhere
<Card title="VibeUI">
<Button type="primary">Hello VibeKit!</Button>
</Card>🔄 Platform Switching
npm run dev:weapp # WeChat Mini-Program
npm run dev:h5 # H5 / Mobile Web
npm run dev:alipay # Alipay Mini-ProgramGet Started
- Get your API key from OpenRouter
- Create
.envfile:VITE_OPENROUTER_API_KEY=sk-or-... - Run:
npm install npm run dev:weapp
License
MIT
