Skip to content

antdv-next/antdv-next-playground

Repository files navigation

Antdv Next Playground

中文

Online playground for antdv-next, powered by @vue/repl.

Usage

Go to antdv-next-playground to have a try!

Development

pnpm install
pnpm dev

Notes

Vue >= 3.5.0

The 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.

Antdv Next >= 1.0.4

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.

Credits

License

MIT

About

Antdv Next Playground

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors