Online playground for antdv-next, powered by @vue/repl.
Go to antdv-next-playground to have a try!
pnpm install
pnpm devThe Vue version selector is restricted to >= 3.5.0.
Reason: The antdv-next dependency @v-c/color-picker uses onWatcherCleanup (a Vue 3.5+ API), which is bundled into antdv-next/dist/antd.esm.js. Selecting a Vue version below 3.5 will cause the preview to error:
Uncaught SyntaxError: The requested module 'vue' does not provide an export named 'onWatcherCleanup'
antdv-next itself does not directly use this API — it is introduced by an indirect dependency. If the upstream removes this dependency, the version restriction can be relaxed.
The antdv-next version selector is restricted to >= 1.0.4.
Reason: npm packages for versions 1.0.0 ~ 1.0.3 do not include dist/antd.esm.js (different early build structure, using dist/index.js instead). The Playground relies on this ESM bundle to run in the browser, so older versions will result in a 404.