Skip to content

Documentation Deployment

Deploy the documentation and Playground as separate Cloudflare Pages projects.

SiteRecommended domainBuild commandOutput directory
Documentationui.<your-domain>npm run docs:api && npm run docs:builddocs/.vitepress/dist
Playgroundwbbb-ui.pages.devnpm run build -w wbbb-ui && npm run build:h5 -w @wbbb-ui/playgroundexamples/playground/dist/build/h5

Set NODE_VERSION=24 and WBBB_PLAYGROUND_URL=https://wbbb-ui.pages.dev for the documentation project. The build also accepts a value ending in /#/ and normalizes it before generating component preview routes.

Wbbb UI · Built for uni-app product experiences