XDesign Vue Next is a Vue 3 UI component library for desktop applications, currently at v1.0.6 with steady releases. It provides high-quality components with consistent API and UI across frameworks, supports dark mode, customizable themes, and tree-shaking for optimized bundles. Key differentiators include desktop-focused interaction patterns and TypeScript support. The library targets modern browsers (Chrome 84+, Edge 84+, Firefox 83+, Safari 14.1+).
npm install xdesign-vue-nextNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs xdesign-vue-next, imports Button component and CSS, registers globally, and mounts the app.
Add import 'xdesign-vue-next/es/style/index.css' to your main entry file.
Use named imports exactly as documented; do not attempt to register with kebab-case names.
Refer to documentation to enable dark mode; no global toggle.
Use a bundler like Vite that supports ES modules and tree-shaking.
Ensure you have const app = createApp(App); before calling app.use(Button).
Use the correct relative path: import 'xdesign-vue-next/es/style/index.css'; verify package is in node_modules.
Use PascalCase in template: <Button />, or register with a kebab-case alias via a custom plugin.
Use import { Button } from 'xdesign-vue-next' and ensure bundler supports package.json exports field.